home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Art / Art Tools / LusterPIC™ 1.0 Demo.sit / LusterPIC™ 1.0 Demo / Specifications / LusterPic 1.0 Details
MacBinary  |  1992-07-08  |  49.6 KB  |  [WSIO/WSEE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: LusterPic 1.0 Details

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, Wed Jul 8 18:18:42 1992, modified Wed Jul 8 18:18:42 1992, creator 'WSEE', type 'WSIO', 50209 bytes "LusterPic 1.0 Details" , at 0xc4a1 358 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[WSIO]
macFileCreator[WSEE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 4c 75 73 74 65 72 | 50 69 63 20 31 2e 30 20 |..Luster|Pic 1.0 |
|00000010| 44 65 74 61 69 6c 73 00 | 00 00 00 00 00 00 00 00 |Details.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 57 53 49 4f 57 53 45 | 45 00 00 00 00 00 00 00 |.WSIOWSE|E.......|
|00000050| 00 00 00 00 00 c4 21 00 | 00 01 66 a6 81 1a 42 a6 |......!.|..f...B.|
|00000060| 81 1a 42 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..B.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 56 c1 00 00 |........|....V...|
|00000080| 00 29 09 ce 00 00 5a f9 | 00 2c 00 00 01 12 01 cf |.)....Z.|.,......|
|00000090| 00 00 00 2c 00 00 00 00 | 00 00 1a 43 00 00 02 64 |...,....|...C...d|
|000000a0| 00 00 00 2c 00 00 00 00 | 00 00 00 00 00 00 00 00 |...,....|........|
|000000b0| 00 00 00 00 00 f7 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 f7 00 00 59 63 | 00 00 06 00 00 00 2a 48 |......Yc|......*H|
|000000d0| 00 4a 00 00 59 63 00 00 | 06 00 00 00 2a 48 00 4a |.J..Yc..|....*H.J|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 29 |........|.......)|
|000000f0| 0a 76 00 00 00 00 00 00 | 00 00 01 00 05 54 69 6d |.v......|.....Tim|
|00000100| 65 73 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |es......|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 12 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 02 | 84 20 ff ff 00 00 00 00 |........|. ......|
|00000140| 00 29 2f 8e 00 29 09 d2 | 00 00 00 00 00 29 0a b2 |.)/..)..|.....)..|
|00000150| 00 29 2b 20 00 29 0a aa | 00 00 00 00 00 00 6b 03 |.)+ .)..|......k.|
|00000160| 00 00 84 a1 00 00 c4 19 | 00 00 c4 21 00 00 64 d3 |........|...!..d.|
|00000170| 00 00 6b 03 00 00 84 a1 | 00 00 a6 ad 00 00 a6 ad |..k.....|........|
|00000180| 00 00 c2 b9 00 00 c2 b9 | 00 00 c3 69 00 00 c3 69 |........|...i...i|
|00000190| 00 00 c4 19 00 00 00 00 | 00 00 00 00 4c 75 73 74 |........|....Lust|
|000001a0| 65 72 50 69 63 aa 20 31 | 2e 30 0d 50 72 6f 67 72 |erPic. 1|.0.Progr|
|000001b0| 61 6d 6d 65 72 27 73 20 | 44 65 74 61 69 6c 65 64 |ammer's |Detailed|
|000001c0| 20 49 6e 66 6f 72 6d 61 | 74 69 6f 6e 0d 0d 0d 0d | Informa|tion....|
|000001d0| 57 68 61 74 20 69 73 20 | 4c 75 73 74 65 72 50 69 |What is |LusterPi|
|000001e0| 63 aa 3f 0d 0d 0d 44 61 | 74 61 50 61 6b 27 73 20 |c.?...Da|taPak's |
|000001f0| 4c 75 73 74 65 72 50 69 | 63 20 69 73 20 61 20 63 |LusterPi|c is a c|
|00000200| 6f 6c 6c 65 63 74 69 6f | 6e 20 6f 66 20 4d 61 63 |ollectio|n of Mac|
|00000210| 69 6e 74 6f 73 68 20 72 | 6f 75 74 69 6e 65 73 20 |intosh r|outines |
|00000220| 74 68 61 74 20 63 6f 6e | 76 65 72 74 20 43 6f 6c |that con|vert Col|
|00000230| 6f 72 20 51 75 69 63 6b | 64 72 61 77 20 70 69 63 |or Quick|draw pic|
|00000240| 74 75 72 65 73 20 74 6f | 20 61 20 62 6c 61 63 6b |tures to| a black|
|00000250| 20 26 20 77 68 69 74 65 | 20 72 65 70 6c 69 63 61 | & white| replica|
|00000260| 20 69 6e 20 61 20 22 67 | 72 61 79 73 63 61 6c 65 | in a "g|rayscale|
|00000270| 22 20 65 66 66 65 63 74 | 3b 20 20 74 68 65 20 67 |" effect|; the g|
|00000280| 72 61 79 73 63 61 6c 65 | 64 20 61 70 70 65 61 72 |rayscale|d appear|
|00000290| 61 6e 63 65 20 69 73 20 | 61 63 63 6f 6d 70 6c 69 |ance is |accompli|
|000002a0| 73 68 65 64 20 62 79 20 | 75 73 69 6e 67 20 61 20 |shed by |using a |
|000002b0| 73 70 65 63 69 61 6c 20 | 64 69 74 68 65 72 69 6e |special |ditherin|
|000002c0| 67 20 74 65 63 68 6e 69 | 71 75 65 20 6f 66 20 76 |g techni|que of v|
|000002d0| 61 72 79 69 6e 67 20 70 | 61 74 74 65 72 6e 73 2e |arying p|atterns.|
|000002e0| 0d 0d 4c 75 73 74 65 72 | 50 69 63 20 63 61 6e 20 |..Luster|Pic can |
|000002f0| 74 61 6b 65 20 61 64 76 | 61 6e 74 61 67 65 20 6f |take adv|antage o|
|00000300| 66 20 61 20 64 65 76 69 | 63 65 27 73 20 72 65 73 |f a devi|ce's res|
|00000310| 6f 6c 75 74 69 6f 6e 3b | 20 20 74 68 75 73 20 74 |olution;| thus t|
|00000320| 68 65 20 71 75 61 6c 69 | 74 79 20 6f 66 20 74 68 |he quali|ty of th|
|00000330| 65 20 64 69 74 68 65 72 | 65 64 20 72 65 73 75 6c |e dither|ed resul|
|00000340| 74 20 69 73 20 69 6e 20 | 64 69 72 65 63 74 20 70 |t is in |direct p|
|00000350| 72 6f 70 6f 72 74 69 6f | 6e 20 74 6f 20 74 68 65 |roportio|n to the|
|00000360| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 20 6f 66 20 74 | resolut|ion of t|
|00000370| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 64 |he desti|nation d|
|00000380| 65 76 69 63 65 20 28 61 | 20 33 30 30 20 64 70 69 |evice (a| 300 dpi|
|00000390| 20 70 72 69 6e 74 65 72 | 2c 20 66 6f 72 20 69 6e | printer|, for in|
|000003a0| 73 74 61 6e 63 65 2c 20 | 63 61 6e 20 70 72 6f 64 |stance, |can prod|
|000003b0| 75 63 65 20 61 20 6d 6f | 73 74 20 65 78 63 65 6c |uce a mo|st excel|
|000003c0| 6c 65 6e 74 20 62 6c 61 | 63 6b 20 26 20 77 68 69 |lent bla|ck & whi|
|000003d0| 74 65 20 69 6d 61 67 65 | 20 66 72 6f 6d 20 61 20 |te image| from a |
|000003e0| 34 2c 20 31 36 2c 20 6f | 72 20 32 35 36 20 63 6f |4, 16, o|r 256 co|
|000003f0| 6c 6f 72 20 70 69 63 74 | 75 72 65 29 2e 0d 0d 46 |lor pict|ure)...F|
|00000400| 75 72 74 68 65 72 6d 6f | 72 65 2c 20 61 6c 6c 20 |urthermo|re, all |
|00000410| 70 69 63 74 75 72 65 20 | 63 6f 6e 76 65 72 73 69 |picture |conversi|
|00000420| 6f 6e 20 66 75 6e 63 74 | 69 6f 6e 73 20 69 6e 20 |on funct|ions in |
|00000430| 74 68 69 73 20 6c 69 62 | 72 61 72 79 20 77 6f 72 |this lib|rary wor|
|00000440| 6b 20 66 6f 72 20 61 6c | 6c 20 4d 61 63 69 6e 74 |k for al|l Macint|
|00000450| 6f 73 68 20 43 50 55 27 | 73 20 2d 2d 20 69 74 20 |osh CPU'|s -- it |
|00000460| 64 6f 65 73 20 6e 6f 74 | 20 64 65 70 65 6e 64 20 |does not| depend |
|00000470| 6f 6e 20 74 68 65 20 65 | 78 69 73 74 65 6e 63 65 |on the e|xistence|
|00000480| 20 6f 66 20 43 6f 6c 6f | 72 20 51 75 69 63 6b 64 | of Colo|r Quickd|
|00000490| 72 61 77 2c 20 33 32 2d | 62 69 74 20 51 75 69 63 |raw, 32-|bit Quic|
|000004a0| 6b 64 72 61 77 2c 20 6f | 72 20 61 6e 79 20 6f 74 |kdraw, o|r any ot|
|000004b0| 68 65 72 20 68 61 72 64 | 77 61 72 65 20 6f 72 20 |her hard|ware or |
|000004c0| 73 6f 66 74 77 61 72 65 | 20 64 65 76 69 63 65 2e |software| device.|
|000004d0| 20 20 41 20 4d 61 63 20 | 50 6c 75 73 20 77 69 6c | A Mac |Plus wil|
|000004e0| 6c 20 70 72 6f 64 75 63 | 65 20 74 68 65 20 73 61 |l produc|e the sa|
|000004f0| 6d 65 20 68 69 67 68 2d | 71 75 61 6c 69 74 79 20 |me high-|quality |
|00000500| 72 65 73 75 6c 74 73 20 | 61 73 20 74 68 65 20 65 |results |as the e|
|00000510| 6e 74 69 72 65 20 32 35 | 36 2d 63 6f 6c 6f 72 20 |ntire 25|6-color |
|00000520| 4d 61 63 20 49 49 20 73 | 65 72 69 65 73 2e 0d 0d |Mac II s|eries...|
|00000530| 4c 75 73 74 65 72 50 69 | 63 20 61 6c 73 6f 20 70 |LusterPi|c also p|
|00000540| 72 6f 76 69 64 65 73 20 | 73 65 76 65 72 61 6c 20 |rovides |several |
|00000550| 22 63 6f 6e 76 65 6e 69 | 65 6e 63 65 22 20 75 74 |"conveni|ence" ut|
|00000560| 69 6c 69 74 69 65 73 20 | 66 6f 72 20 63 6f 6e 76 |ilities |for conv|
|00000570| 65 72 74 69 6e 67 20 50 | 69 78 4d 61 70 20 70 69 |erting P|ixMap pi|
|00000580| 63 74 75 72 65 73 20 69 | 6e 74 6f 20 22 49 6d 61 |ctures i|nto "Ima|
|00000590| 67 65 57 72 69 74 65 72 | 22 20 63 6f 6c 6f 72 73 |geWriter|" colors|
|000005a0| 20 61 73 20 77 65 6c 6c | 20 61 73 20 47 72 61 70 | as well| as Grap|
|000005b0| 68 69 63 73 20 44 65 76 | 69 63 65 20 73 75 70 70 |hics Dev|ice supp|
|000005c0| 6f 72 74 20 66 6f 72 20 | 6f 66 66 73 63 72 65 65 |ort for |offscree|
|000005d0| 6e 20 50 69 78 4d 61 70 | 20 64 72 61 77 69 6e 67 |n PixMap| drawing|
|000005e0| 2e 0d 00 0f 00 0d 00 00 | 00 31 00 0d 00 00 00 32 |........|.1.....2|
|000005f0| 00 0d 00 00 00 33 00 0d | 00 00 00 34 00 0d 00 00 |.....3..|...4....|
|00000600| 00 48 00 0d 00 00 00 49 | 00 0d 00 00 00 4a 00 0d |.H.....I|.....J..|
|00000610| 00 00 01 45 00 0d 00 00 | 01 46 00 0d 00 00 02 62 |...E....|.F.....b|
|00000620| 00 0d 00 00 02 63 00 0d | 00 00 03 93 00 0d 00 00 |.....c..|........|
|00000630| 03 94 00 0d 00 00 04 46 | 00 0d 00 00 0d 44 61 74 |.......F|.....Dat|
|00000640| 61 50 61 6b 27 73 20 4c | 75 73 74 65 72 50 69 63 |aPak's L|usterPic|
|00000650| 20 69 73 20 61 6e 20 6f | 62 6a 65 63 74 20 6d 6f | is an o|bject mo|
|00000660| 64 75 6c 65 20 74 68 61 | 74 20 6c 69 6e 6b 73 20 |dule tha|t links |
|00000670| 77 69 74 68 20 79 6f 75 | 72 20 4d 61 63 69 6e 74 |with you|r Macint|
|00000680| 6f 73 68 20 61 70 70 6c | 69 63 61 74 69 6f 6e 3b |osh appl|ication;|
|00000690| 20 20 6f 6e 63 65 20 74 | 68 69 73 20 69 73 20 61 | once t|his is a|
|000006a0| 63 63 6f 6d 70 6c 69 73 | 68 65 64 2c 20 74 68 65 |ccomplis|hed, the|
|000006b0| 20 66 75 6e 63 74 69 6f | 6e 73 20 64 65 73 63 72 | functio|ns descr|
|000006c0| 69 62 65 64 20 69 6e 20 | 74 68 69 73 20 50 72 6f |ibed in |this Pro|
|000006d0| 67 72 61 6d 6d 65 72 27 | 73 20 47 75 69 64 65 20 |grammer'|s Guide |
|000006e0| 61 72 65 20 61 63 63 65 | 73 73 65 64 20 69 6e 20 |are acce|ssed in |
|000006f0| 74 68 65 20 73 61 6d 65 | 20 77 61 79 20 79 6f 75 |the same| way you|
|00000700| 20 68 61 76 65 20 62 65 | 65 6e 20 75 73 69 6e 67 | have be|en using|
|00000710| 20 74 68 65 20 54 6f 6f | 6c 62 6f 78 20 64 65 73 | the Too|lbox des|
|00000720| 63 72 69 62 65 64 20 69 | 6e 20 49 6e 73 69 64 65 |cribed i|n Inside|
|00000730| 20 4d 61 63 69 6e 74 6f | 73 68 2e 0d 0d 0d 49 2e | Macinto|sh....I.|
|00000740| 20 55 73 69 6e 67 20 4c | 75 73 74 65 72 50 69 63 | Using L|usterPic|
|00000750| 0d 0d 53 74 61 72 74 69 | 6e 67 20 55 70 0d 0d 42 |..Starti|ng Up..B|
|00000760| 65 66 6f 72 65 20 79 6f | 75 20 64 6f 20 61 6e 79 |efore yo|u do any|
|00000770| 74 68 69 6e 67 20 79 6f | 75 20 6d 75 73 74 20 63 |thing yo|u must c|
|00000780| 61 6c 6c 20 4c 75 73 74 | 65 72 50 69 63 74 61 72 |all Lust|erPictar|
|00000790| 74 75 70 20 73 6f 6d 65 | 77 68 65 72 65 20 65 61 |tup some|where ea|
|000007a0| 72 6c 79 20 69 6e 20 79 | 6f 75 72 20 70 72 6f 67 |rly in y|our prog|
|000007b0| 72 61 6d 20 61 66 74 65 | 72 20 79 6f 75 20 68 61 |ram afte|r you ha|
|000007c0| 76 65 20 69 6e 69 74 69 | 61 6c 69 7a 65 64 20 74 |ve initi|alized t|
|000007d0| 68 65 20 73 74 61 6e 64 | 61 72 64 20 54 6f 6f 6c |he stand|ard Tool|
|000007e0| 62 6f 78 2e 20 20 4e 6f | 74 20 64 6f 69 6e 67 20 |box. No|t doing |
|000007f0| 73 6f 20 77 69 6c 6c 20 | 63 61 75 73 65 20 61 6c |so will |cause al|
|00000800| 6c 20 74 68 65 20 72 6f | 75 74 69 6e 65 73 20 67 |l the ro|utines g|
|00000810| 69 76 65 6e 20 69 6e 20 | 74 68 69 73 20 6d 61 6e |iven in |this man|
|00000820| 75 61 6c 20 74 6f 20 66 | 61 69 6c 2e 0d 0d 43 68 |ual to f|ail...Ch|
|00000830| 65 63 6b 69 6e 67 20 50 | 49 43 54 20 54 79 70 65 |ecking P|ICT Type|
|00000840| 73 0d 0d 49 74 20 69 73 | 20 6e 6f 74 20 72 65 71 |s..It is| not req|
|00000850| 75 69 72 65 64 20 74 68 | 61 74 20 79 6f 75 20 72 |uired th|at you r|
|00000860| 75 6e 20 4c 75 73 74 65 | 72 50 69 63 20 69 6e 20 |un Luste|rPic in |
|00000870| 61 20 63 6f 6c 6f 72 20 | 4d 61 63 69 6e 74 6f 73 |a color |Macintos|
|00000880| 68 2c 20 6e 6f 72 20 69 | 73 20 69 74 20 72 65 71 |h, nor i|s it req|
|00000890| 75 69 72 65 64 20 74 68 | 61 74 20 74 68 65 20 72 |uired th|at the r|
|000008a0| 75 6e 74 69 6d 65 20 65 | 6e 76 69 72 6f 6e 6d 65 |untime e|nvironme|
|000008b0| 6e 74 20 73 75 70 70 6f | 72 74 73 20 43 6f 6c 6f |nt suppo|rts Colo|
|000008c0| 72 20 51 75 69 63 6b 64 | 72 61 77 20 6f 72 20 33 |r Quickd|raw or 3|
|000008d0| 32 2d 62 69 74 20 51 75 | 69 63 6b 64 72 61 77 2e |2-bit Qu|ickdraw.|
|000008e0| 0d 00 01 00 0d 00 00 01 | 00 00 0d 00 00 01 01 00 |........|........|
|000008f0| 0d 00 00 01 02 00 0d 00 | 00 01 15 00 0d 00 00 01 |........|........|
|00000900| 16 00 0d 00 00 01 22 00 | 0d 00 00 01 23 00 0d 00 |......".|....#...|
|00000910| 00 01 f1 00 0d 00 00 01 | f2 00 0d 00 00 02 06 00 |........|........|
|00000920| 0d 00 00 02 07 00 0d 00 | 00 02 a5 00 0d 00 00 0d |........|........|
|00000930| 48 6f 77 65 76 65 72 2c | 20 73 69 6e 63 65 20 6d |However,| since m|
|00000940| 6f 73 74 20 6f 66 20 74 | 68 65 20 4c 75 73 74 65 |ost of t|he Luste|
|00000950| 72 50 69 63 20 66 75 6e | 63 74 69 6f 6e 73 20 6f |rPic fun|ctions o|
|00000960| 6e 6c 79 20 6d 61 6b 65 | 20 73 65 6e 73 65 20 77 |nly make| sense w|
|00000970| 69 74 68 20 50 49 43 54 | 20 49 49 20 70 69 63 74 |ith PICT| II pict|
|00000980| 75 72 65 73 20 28 43 6f | 6c 6f 72 20 51 75 69 63 |ures (Co|lor Quic|
|00000990| 6b 64 72 61 77 20 70 69 | 63 74 75 72 65 73 29 2c |kdraw pi|ctures),|
|000009a0| 20 61 20 63 6f 6e 76 65 | 6e 69 65 6e 74 20 66 75 | a conve|nient fu|
|000009b0| 6e 63 74 69 6f 6e 20 2d | 2d 20 4c 50 69 63 74 54 |nction -|- LPictT|
|000009c0| 79 70 65 20 2d 2d 20 63 | 61 6e 20 62 65 20 75 73 |ype -- c|an be us|
|000009d0| 65 64 20 74 6f 20 64 65 | 74 65 72 6d 69 6e 65 20 |ed to de|termine |
|000009e0| 77 68 65 74 68 65 72 20 | 61 20 67 69 76 65 6e 20 |whether |a given |
|000009f0| 70 69 63 74 75 72 65 20 | 69 73 20 62 6c 61 63 6b |picture |is black|
|00000a00| 20 26 20 77 68 69 74 65 | 20 6f 72 20 63 6f 6c 6f | & white| or colo|
|00000a10| 72 3b 20 20 69 66 20 61 | 20 70 69 63 74 75 72 65 |r; if a| picture|
|00000a20| 20 69 73 20 62 6c 61 63 | 6b 20 26 20 77 68 69 74 | is blac|k & whit|
|00000a30| 65 20 28 50 49 43 54 20 | 49 29 2c 20 79 6f 75 20 |e (PICT |I), you |
|00000a40| 6d 69 67 68 74 20 77 61 | 6e 74 20 74 6f 20 75 73 |might wa|nt to us|
|00000a50| 65 20 74 68 65 20 70 69 | 63 74 75 72 65 20 61 73 |e the pi|cture as|
|00000a60| 2d 69 73 20 77 69 74 68 | 20 6e 6f 20 63 6f 6e 76 |-is with| no conv|
|00000a70| 65 72 73 69 6f 6e 2e 0d | 0d 54 68 65 20 4c 50 69 |ersion..|.The LPi|
|00000a80| 63 74 54 79 70 65 20 66 | 75 6e 63 74 69 6f 6e 20 |ctType f|unction |
|00000a90| 61 63 63 65 70 74 73 20 | 61 20 73 74 61 6e 64 61 |accepts |a standa|
|00000aa0| 72 64 20 50 69 63 48 61 | 6e 64 6c 65 20 61 6e 64 |rd PicHa|ndle and|
|00000ab0| 20 72 65 74 75 72 6e 73 | 20 61 20 66 75 6e 63 74 | returns| a funct|
|00000ac0| 69 6f 6e 20 72 65 73 75 | 6c 74 20 6f 66 20 31 20 |ion resu|lt of 1 |
|00000ad0| 28 77 68 69 63 68 20 69 | 6d 70 6c 69 65 73 20 61 |(which i|mplies a|
|00000ae0| 20 50 49 43 54 20 49 20 | 62 6c 61 63 6b 20 26 20 | PICT I |black & |
|00000af0| 77 68 69 74 65 20 70 69 | 63 74 75 72 65 29 20 6f |white pi|cture) o|
|00000b00| 72 20 61 20 49 49 20 28 | 77 68 69 63 68 20 69 6d |r a II (|which im|
|00000b10| 70 6c 69 65 73 20 61 20 | 50 49 43 54 20 49 49 20 |plies a |PICT II |
|00000b20| 43 6f 6c 6f 72 20 51 75 | 69 63 6b 64 72 61 77 20 |Color Qu|ickdraw |
|00000b30| 70 69 63 74 75 72 65 29 | 2e 0d 0d 43 6f 6e 76 65 |picture)|...Conve|
|00000b40| 72 74 69 6e 67 20 43 6f | 6c 6f 72 20 74 6f 20 42 |rting Co|lor to B|
|00000b50| 6c 61 63 6b 20 26 20 57 | 68 69 74 65 20 22 47 72 |lack & W|hite "Gr|
|00000b60| 61 79 73 63 61 6c 65 73 | 22 0d 0d 4f 6e 65 20 6f |ayscales|"..One o|
|00000b70| 66 20 74 68 65 20 6d 6f | 73 74 20 75 73 65 66 75 |f the mo|st usefu|
|00000b80| 6c 20 61 6e 64 20 70 6f | 77 65 72 66 75 6c 20 66 |l and po|werful f|
|00000b90| 65 61 74 75 72 65 73 20 | 6f 66 20 4c 75 73 74 65 |eatures |of Luste|
|00000ba0| 72 50 69 63 20 69 73 20 | 69 74 73 20 61 62 69 6c |rPic is |its abil|
|00000bb0| 69 74 79 20 74 6f 20 63 | 6f 6e 76 65 72 74 20 61 |ity to c|onvert a|
|00000bc0| 20 6d 75 6c 74 69 63 6f | 6c 6f 72 65 64 20 50 69 | multico|lored Pi|
|00000bd0| 78 4d 61 70 20 70 69 63 | 74 75 72 65 20 69 6e 74 |xMap pic|ture int|
|00000be0| 6f 20 61 20 62 6c 61 63 | 6b 20 26 20 77 68 69 74 |o a blac|k & whit|
|00000bf0| 65 20 22 67 72 61 79 73 | 63 61 6c 65 22 20 70 69 |e "grays|cale" pi|
|00000c00| 63 74 75 72 65 3b 20 20 | 74 68 65 20 22 67 72 61 |cture; |the "gra|
|00000c10| 79 73 63 61 6c 65 22 20 | 65 66 66 65 63 74 20 69 |yscale" |effect i|
|00000c20| 73 20 61 63 68 69 65 76 | 65 64 20 77 69 74 68 20 |s achiev|ed with |
|00000c30| 64 69 74 68 65 72 69 6e | 67 20 28 61 20 74 65 63 |ditherin|g (a tec|
|00000c40| 68 6e 69 71 75 65 20 6f | 66 20 74 72 61 6e 73 6c |hnique o|f transl|
|00000c50| 61 74 69 6e 67 20 65 61 | 63 68 20 63 6f 6c 6f 72 |ating ea|ch color|
|00000c60| 20 69 6e 74 65 6e 73 69 | 74 79 20 74 6f 20 76 61 | intensi|ty to va|
|00000c70| 72 79 69 6e 67 20 62 6c | 61 63 6b 20 61 6e 64 20 |rying bl|ack and |
|00000c80| 67 72 61 79 20 70 61 74 | 74 65 72 6e 73 29 2e 0d |gray pat|terns)..|
|00000c90| 00 01 00 0d 00 00 01 49 | 00 0d 00 00 01 4a 00 0d |.......I|.....J..|
|00000ca0| 00 00 02 0b 00 0d 00 00 | 02 0c 00 0d 00 00 02 3b |........|.......;|
|00000cb0| 00 0d 00 00 02 3c 00 0d | 00 00 03 61 00 0d 00 00 |.....<..|...a....|
|00000cc0| 0d 54 68 69 73 20 63 6f | 6e 76 65 72 73 69 6f 6e |.This co|nversion|
|00000cd0| 20 69 73 20 73 69 6d 70 | 6c 65 3a 20 61 20 66 75 | is simp|le: a fu|
|00000ce0| 6e 63 74 69 6f 6e 20 63 | 61 6c 6c 65 64 20 4c 50 |nction c|alled LP|
|00000cf0| 69 63 74 43 6f 6e 76 65 | 72 74 20 61 63 63 65 70 |ictConve|rt accep|
|00000d00| 74 73 20 61 20 50 69 63 | 48 61 6e 64 6c 65 20 69 |ts a Pic|Handle i|
|00000d10| 73 20 61 6e 20 69 6e 70 | 75 74 20 61 6e 64 20 72 |s an inp|ut and r|
|00000d20| 65 74 75 72 6e 73 20 61 | 20 6e 65 77 6c 79 20 63 |eturns a| newly c|
|00000d30| 72 65 61 74 65 64 2c 20 | 62 6c 61 63 6b 20 26 20 |reated, |black & |
|00000d40| 77 68 69 74 65 20 70 69 | 63 74 75 72 65 20 61 73 |white pi|cture as|
|00000d50| 20 69 74 73 20 6f 75 74 | 70 75 74 2e 20 20 41 6c | its out|put. Al|
|00000d60| 6c 20 63 6f 6e 76 65 72 | 73 69 6f 6e 73 2c 20 77 |l conver|sions, w|
|00000d70| 68 65 74 68 65 72 20 64 | 69 73 70 6c 61 79 69 6e |hether d|isplayin|
|00000d80| 67 20 61 20 62 6c 61 63 | 6b 20 26 20 77 68 69 74 |g a blac|k & whit|
|00000d90| 65 20 72 65 70 6c 69 63 | 61 20 74 6f 20 74 68 65 |e replic|a to the|
|00000da0| 20 73 63 72 65 65 6e 20 | 6f 72 20 64 72 61 77 69 | screen |or drawi|
|00000db0| 6e 67 20 74 6f 20 74 68 | 65 20 70 72 69 6e 74 65 |ng to th|e printe|
|00000dc0| 72 2c 20 61 72 65 20 61 | 63 63 6f 6d 70 6c 69 73 |r, are a|ccomplis|
|00000dd0| 68 65 64 20 69 6e 20 74 | 68 69 73 20 77 61 79 2e |hed in t|his way.|
|00000de0| 0d 0d 46 6f 72 20 69 6e | 73 74 61 6e 63 65 2c 20 |..For in|stance, |
|00000df0| 69 66 20 79 6f 75 20 77 | 61 6e 74 65 64 20 74 6f |if you w|anted to|
|00000e00| 20 70 72 6f 64 75 63 65 | 20 64 69 74 68 65 72 65 | produce| dithere|
|00000e10| 64 20 67 72 61 79 73 20 | 66 72 6f 6d 20 61 20 63 |d grays |from a c|
|00000e20| 6f 6c 6f 72 20 70 69 63 | 74 75 72 65 20 74 6f 20 |olor pic|ture to |
|00000e30| 61 20 70 72 69 6e 74 65 | 72 2c 20 79 6f 75 20 77 |a printe|r, you w|
|00000e40| 6f 75 6c 64 20 66 69 72 | 73 74 20 63 6f 6e 76 65 |ould fir|st conve|
|00000e50| 72 74 20 74 68 65 20 70 | 69 63 74 75 72 65 20 2d |rt the p|icture -|
|00000e60| 2d 20 75 73 69 6e 67 20 | 4c 50 69 63 74 43 6f 6e |- using |LPictCon|
|00000e70| 76 65 72 74 20 2d 2d 20 | 74 68 65 6e 20 64 72 61 |vert -- |then dra|
|00000e80| 77 20 74 68 65 20 63 6f | 6e 76 65 72 74 65 64 20 |w the co|nverted |
|00000e90| 70 69 63 74 75 72 65 20 | 74 6f 20 74 68 65 20 70 |picture |to the p|
|00000ea0| 72 69 6e 74 65 72 27 73 | 20 47 72 61 66 50 6f 72 |rinter's| GrafPor|
|00000eb0| 74 2e 0d 0d 54 68 65 20 | 64 65 67 72 65 65 20 6f |t...The |degree o|
|00000ec0| 66 20 72 65 73 6f 6c 75 | 74 69 6f 6e 20 28 74 68 |f resolu|tion (th|
|00000ed0| 65 20 61 6d 6f 75 6e 74 | 20 6f 66 20 64 65 74 61 |e amount| of deta|
|00000ee0| 69 6c 29 20 69 6e 20 74 | 68 65 20 72 65 73 75 6c |il) in t|he resul|
|00000ef0| 74 69 6e 67 20 64 69 74 | 68 65 72 65 64 20 67 72 |ting dit|hered gr|
|00000f00| 61 79 73 20 61 72 65 20 | 63 6f 6e 74 72 6f 6c 6c |ays are |controll|
|00000f10| 65 64 20 62 79 20 70 61 | 73 73 69 6e 67 20 6f 6e |ed by pa|ssing on|
|00000f20| 65 20 6f 66 20 74 68 72 | 65 65 20 72 65 73 6f 6c |e of thr|ee resol|
|00000f30| 75 74 69 6f 6e 20 66 61 | 63 74 6f 72 73 20 74 6f |ution fa|ctors to|
|00000f40| 20 4c 50 69 63 74 43 6f | 6e 76 65 72 74 3a 20 20 | LPictCo|nvert: |
|00000f50| 31 2c 20 32 2c 20 6f 72 | 20 34 2e 20 20 41 20 72 |1, 2, or| 4. A r|
|00000f60| 65 73 6f 6c 75 74 69 6f | 6e 20 6f 66 20 31 20 70 |esolutio|n of 1 p|
|00000f70| 72 6f 64 75 63 65 73 20 | 37 32 20 64 70 69 3b 20 |roduces |72 dpi; |
|00000f80| 61 20 32 20 70 72 6f 64 | 75 63 65 73 20 61 70 70 |a 2 prod|uces app|
|00000f90| 72 6f 78 69 6d 61 74 65 | 6c 79 20 31 35 30 20 64 |roximate|ly 150 d|
|00000fa0| 70 69 20 61 6e 64 20 34 | 20 70 72 6f 64 75 63 65 |pi and 4| produce|
|00000fb0| 73 20 61 20 33 30 30 20 | 64 70 69 20 72 65 73 6f |s a 300 |dpi reso|
|00000fc0| 6c 75 74 69 6f 6e 20 28 | 73 61 6d 65 20 61 73 20 |lution (|same as |
|00000fd0| 4c 61 73 65 72 57 72 69 | 74 65 72 29 2e 20 46 6f |LaserWri|ter). Fo|
|00000fe0| 72 20 63 6f 6e 76 65 6e | 69 65 6e 63 65 2c 20 74 |r conven|ience, t|
|00000ff0| 68 65 73 65 20 74 68 72 | 65 65 20 72 65 73 6f 6c |hese thr|ee resol|
|00001000| 75 74 69 6f 6e 20 66 61 | 63 74 6f 72 73 20 68 61 |ution fa|ctors ha|
|00001010| 76 65 20 62 65 65 6e 20 | 70 72 65 64 65 66 69 6e |ve been |predefin|
|00001020| 65 64 20 69 6e 20 74 68 | 65 20 69 6e 74 65 72 66 |ed in th|e interf|
|00001030| 61 63 65 20 61 73 20 70 | 69 63 74 52 65 73 31 2c |ace as p|ictRes1,|
|00001040| 20 70 69 63 74 52 65 73 | 32 2c 20 61 6e 64 20 70 | pictRes|2, and p|
|00001050| 69 63 74 52 65 73 33 2e | 0d 00 01 00 0d 00 00 01 |ictRes3.|........|
|00001060| 21 00 0d 00 00 01 22 00 | 0d 00 00 01 f3 00 0d 00 |!.....".|........|
|00001070| 00 01 f4 00 0d 00 00 03 | 99 00 0d 00 00 0d 57 68 |........|......Wh|
|00001080| 69 6c 65 20 74 68 65 20 | 33 30 30 20 64 70 69 20 |ile the |300 dpi |
|00001090| 70 69 63 74 75 72 65 20 | 63 6f 6e 76 65 72 73 69 |picture |conversi|
|000010a0| 6f 6e 20 72 65 71 75 69 | 72 65 20 6d 6f 72 65 20 |on requi|re more |
|000010b0| 6d 65 6d 6f 72 79 2c 20 | 74 68 65 20 70 72 69 6e |memory, |the prin|
|000010c0| 74 65 64 20 69 6d 61 67 | 65 20 66 72 6f 6d 20 61 |ted imag|e from a|
|000010d0| 20 50 69 78 4d 61 70 20 | 70 69 63 74 75 72 65 20 | PixMap |picture |
|000010e0| 70 72 6f 64 75 63 65 73 | 20 74 68 65 20 6d 6f 73 |produces| the mos|
|000010f0| 74 20 65 78 63 65 6c 6c | 65 6e 74 20 71 75 61 6c |t excell|ent qual|
|00001100| 69 74 79 20 6f 66 20 62 | 6c 61 63 6b 20 26 20 77 |ity of b|lack & w|
|00001110| 68 69 74 65 2e 0d 0d 0d | 50 72 69 6e 74 69 6e 67 |hite....|Printing|
|00001120| 20 22 49 6d 61 67 65 57 | 72 69 74 65 72 22 20 43 | "ImageW|riter" C|
|00001130| 6f 6c 6f 72 73 0d 0d 4c | 75 73 74 65 72 50 69 63 |olors..L|usterPic|
|00001140| 20 61 6c 73 6f 20 61 63 | 63 65 70 74 73 20 61 6e | also ac|cepts an|
|00001150| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 22 72 65 73 | additio|nal "res|
|00001160| 6f 6c 75 74 69 6f 6e 22 | 20 61 73 20 61 6e 20 69 |olution"| as an i|
|00001170| 6e 70 75 74 20 70 61 72 | 61 6d 65 74 65 72 20 66 |nput par|ameter f|
|00001180| 6f 72 20 70 69 63 74 75 | 72 65 20 63 6f 6e 76 65 |or pictu|re conve|
|00001190| 72 73 69 6f 6e 3a 20 61 | 20 76 61 6c 75 65 20 6f |rsion: a| value o|
|000011a0| 66 20 2d 31 20 63 61 75 | 73 65 73 20 61 20 43 6f |f -1 cau|ses a Co|
|000011b0| 6c 6f 72 20 51 75 69 63 | 6b 64 72 61 77 20 70 69 |lor Quic|kdraw pi|
|000011c0| 63 74 75 72 65 20 28 77 | 69 74 68 20 50 69 78 4d |cture (w|ith PixM|
|000011d0| 61 70 73 29 20 74 6f 20 | 62 65 20 6d 61 70 70 65 |aps) to |be mappe|
|000011e0| 64 20 74 6f 20 74 68 65 | 20 6f 6c 64 65 72 20 38 |d to the| older 8|
|000011f0| 2d 63 6f 6c 6f 72 20 22 | 49 6d 61 67 65 57 72 69 |-color "|ImageWri|
|00001200| 74 65 72 22 20 63 6f 6c | 6f 72 73 20 69 6e 20 74 |ter" col|ors in t|
|00001210| 68 65 20 72 65 73 75 6c | 74 69 6e 67 20 6f 75 74 |he resul|ting out|
|00001220| 70 75 74 2e 20 46 6f 72 | 20 63 6f 6e 76 65 6e 69 |put. For| conveni|
|00001230| 65 6e 63 65 2c 20 74 68 | 69 73 20 72 65 73 6f 6c |ence, th|is resol|
|00001240| 75 74 69 6f 6e 20 66 61 | 63 74 20 68 61 73 20 62 |ution fa|ct has b|
|00001250| 65 65 6e 20 70 72 65 64 | 65 66 69 6e 65 64 20 69 |een pred|efined i|
|00001260| 6e 20 74 68 65 20 69 6e | 74 65 72 66 61 63 65 20 |n the in|terface |
|00001270| 61 73 20 70 69 63 74 52 | 65 73 43 6f 6c 6f 72 2e |as pictR|esColor.|
|00001280| 0d 0d 52 75 6e 74 69 6d | 65 20 45 6e 76 69 72 6f |..Runtim|e Enviro|
|00001290| 6e 6d 65 6e 74 20 61 6e | 64 20 53 79 73 74 65 6d |nment an|d System|
|000012a0| 73 0d 0d 4c 75 73 74 65 | 72 50 69 63 20 68 61 76 |s..Luste|rPic hav|
|000012b0| 65 20 62 65 65 6e 20 77 | 72 69 74 74 65 6e 20 66 |e been w|ritten f|
|000012c0| 6f 72 20 31 30 30 25 20 | 6d 61 63 68 69 6e 65 20 |or 100% |machine |
|000012d0| 69 6e 64 65 70 65 6e 64 | 65 6e 63 79 20 2d 2d 20 |independ|ency -- |
|000012e0| 65 76 65 72 79 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |every fu|nction, |
|000012f0| 69 6e 63 6c 75 64 69 6e | 67 20 49 6d 61 67 65 57 |includin|g ImageW|
|00001300| 72 69 74 65 72 20 63 6f | 6c 6f 72 20 63 6f 6e 76 |riter co|lor conv|
|00001310| 65 72 73 69 6f 6e 20 2d | 2d 20 77 69 6c 6c 20 77 |ersion -|- will w|
|00001320| 6f 72 6b 20 74 68 65 20 | 73 61 6d 65 20 6f 6e 20 |ork the |same on |
|00001330| 61 6c 6c 20 4d 61 63 69 | 6e 74 6f 73 68 20 68 61 |all Maci|ntosh ha|
|00001340| 72 64 77 61 72 65 20 72 | 65 67 61 72 64 6c 65 73 |rdware r|egardles|
|00001350| 73 20 6f 66 20 74 68 65 | 20 70 72 65 73 65 6e 63 |s of the| presenc|
|00001360| 65 20 6f 72 20 61 62 73 | 65 6e 63 65 20 6f 66 20 |e or abs|ence of |
|00001370| 63 6f 6c 6f 72 2c 20 72 | 65 67 61 72 64 6c 65 73 |color, r|egardles|
|00001380| 73 20 6f 66 20 74 68 65 | 20 70 72 65 73 65 6e 63 |s of the| presenc|
|00001390| 65 20 6f 72 20 61 62 73 | 65 6e 63 65 20 6f 66 20 |e or abs|ence of |
|000013a0| 43 6f 6c 6f 72 20 51 75 | 69 63 6b 64 72 61 77 20 |Color Qu|ickdraw |
|000013b0| 6f 72 20 33 32 2d 62 69 | 74 20 51 75 69 63 6b 64 |or 32-bi|t Quickd|
|000013c0| 72 61 77 20 61 6e 64 20 | 72 65 67 61 72 64 6c 65 |raw and |regardle|
|000013d0| 73 73 20 6f 66 20 74 68 | 65 20 53 79 73 74 65 6d |ss of th|e System|
|000013e0| 20 76 65 72 73 69 6f 6e | 3a 20 20 63 6f 6c 6f 72 | version|: color|
|000013f0| 20 70 69 63 74 75 72 65 | 73 20 77 69 6c 6c 20 70 | picture|s will p|
|00001400| 72 6f 64 75 63 65 20 74 | 68 65 20 73 61 6d 65 20 |roduce t|he same |
|00001410| 62 6c 61 63 6b 20 26 20 | 77 68 69 74 65 20 72 65 |black & |white re|
|00001420| 73 75 6c 74 73 20 69 6e | 20 61 20 4d 61 63 20 50 |sults in| a Mac P|
|00001430| 6c 75 73 20 61 73 20 69 | 6e 20 61 20 49 49 66 78 |lus as i|n a IIfx|
|00001440| 21 0d 00 01 00 0d 00 00 | 00 99 00 0d 00 00 00 9a |!.......|........|
|00001450| 00 0d 00 00 00 9b 00 0d | 00 00 00 b9 00 0d 00 00 |........|........|
|00001460| 00 ba 00 0d 00 00 02 04 | 00 0d 00 00 02 05 00 0d |........|........|
|00001470| 00 00 02 25 00 0d 00 00 | 02 26 00 0d 00 00 03 c5 |...%....|.&......|
|00001480| 00 0d 00 00 0d 4d 65 6d | 6f 72 79 20 43 6f 6e 73 |.....Mem|ory Cons|
|00001490| 69 64 65 72 61 74 69 6f | 6e 0d 0d 43 6f 6e 76 65 |ideratio|n..Conve|
|000014a0| 72 74 69 6e 67 20 68 75 | 67 65 2c 20 73 63 72 65 |rting hu|ge, scre|
|000014b0| 65 6e 2d 73 69 7a 65 20 | 70 69 63 74 75 72 65 73 |en-size |pictures|
|000014c0| 20 74 6f 20 33 30 30 20 | 64 70 69 20 64 69 74 68 | to 300 |dpi dith|
|000014d0| 65 72 65 64 20 69 6d 61 | 67 65 73 20 28 74 68 65 |ered ima|ges (the|
|000014e0| 20 77 6f 72 73 74 2d 63 | 61 73 65 20 6d 65 6d 6f | worst-c|ase memo|
|000014f0| 72 79 20 73 63 65 6e 61 | 72 69 6f 29 20 63 61 6e |ry scena|rio) can|
|00001500| 20 63 6f 6e 73 75 6d 65 | 20 61 73 20 6d 75 63 68 | consume| as much|
|00001510| 20 61 73 20 32 30 30 4b | 20 61 6e 64 20 6d 69 67 | as 200K| and mig|
|00001520| 68 74 20 62 65 20 61 20 | 70 72 6f 62 6c 65 6d 20 |ht be a |problem |
|00001530| 77 68 65 72 65 20 6d 65 | 6d 6f 72 79 20 69 73 20 |where me|mory is |
|00001540| 73 63 61 72 63 65 2e 0d | 0d 4f 6e 65 20 73 6f 6c |scarce..|.One sol|
|00001550| 75 74 69 6f 6e 20 69 73 | 20 74 6f 20 6c 6f 77 65 |ution is| to lowe|
|00001560| 72 20 74 68 65 20 63 6f | 6e 76 65 72 73 69 6f 6e |r the co|nversion|
|00001570| 27 73 20 72 65 73 6f 6c | 75 74 69 6f 6e 2c 20 61 |'s resol|ution, a|
|00001580| 6e 64 2f 6f 72 20 74 6f | 20 41 6c 65 72 74 20 74 |nd/or to| Alert t|
|00001590| 68 65 20 75 73 65 72 20 | 74 68 61 74 20 74 68 65 |he user |that the|
|000015a0| 72 65 20 69 73 6e 27 74 | 20 65 6e 6f 75 67 68 20 |re isn't| enough |
|000015b0| 6d 65 6d 6f 72 79 20 61 | 6e 64 20 74 6f 20 63 68 |memory a|nd to ch|
|000015c0| 6f 6f 73 65 20 61 20 6c | 6f 77 65 72 20 72 65 73 |oose a l|ower res|
|000015d0| 6f 6c 75 74 69 6f 6e 20 | 66 6f 72 20 73 75 63 63 |olution |for succ|
|000015e0| 65 73 73 3b 20 61 6e 20 | 61 64 64 69 74 69 6f 6e |ess; an |addition|
|000015f0| 61 6c 20 73 6f 6c 75 74 | 69 6f 6e 20 6d 69 67 68 |al solut|ion migh|
|00001600| 74 20 62 65 20 74 6f 20 | 73 77 61 70 20 6f 75 74 |t be to |swap out|
|00001610| 20 70 6f 72 74 69 6f 6e | 73 20 6f 66 20 74 68 65 | portion|s of the|
|00001620| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 28 55 6e | applica|tion (Un|
|00001630| 6c 6f 61 64 53 65 67 29 | 20 64 75 72 69 6e 67 20 |loadSeg)| during |
|00001640| 74 68 65 20 70 72 69 6e | 74 69 6e 67 20 70 72 6f |the prin|ting pro|
|00001650| 63 65 73 73 20 74 6f 20 | 6d 69 6e 69 6d 69 7a 65 |cess to |minimize|
|00001660| 20 74 68 69 73 20 70 72 | 6f 62 6c 65 6d 2e 0d 0d | this pr|oblem...|
|00001670| 49 6e 20 61 6e 79 20 65 | 76 65 6e 74 2c 20 4c 75 |In any e|vent, Lu|
|00001680| 73 74 65 72 50 69 63 20 | 70 72 6f 76 69 64 65 73 |sterPic |provides|
|00001690| 20 61 20 6d 65 74 68 6f | 64 20 74 6f 20 67 72 61 | a metho|d to gra|
|000016a0| 63 65 66 75 6c 6c 79 20 | 62 61 63 6b 20 6f 75 74 |cefully |back out|
|000016b0| 20 6f 66 20 61 6e 20 6f | 75 74 2d 6f 66 2d 6d 65 | of an o|ut-of-me|
|000016c0| 6d 6f 72 79 20 73 69 74 | 75 61 74 69 6f 6e 20 65 |mory sit|uation e|
|000016d0| 76 65 6e 20 69 66 20 61 | 20 70 69 63 74 75 72 65 |ven if a| picture|
|000016e0| 20 63 6f 6e 76 65 72 73 | 69 6f 6e 20 69 73 20 6f | convers|ion is o|
|000016f0| 6e 6c 79 20 70 61 72 74 | 69 61 6c 6c 79 20 63 6f |nly part|ially co|
|00001700| 6d 70 6c 65 74 65 3a 20 | 20 74 68 65 20 66 75 6e |mplete: | the fun|
|00001710| 63 74 69 6f 6e 20 4c 50 | 69 63 74 41 62 6f 72 74 |ction LP|ictAbort|
|00001720| 20 63 61 6e 20 62 65 20 | 63 61 6c 6c 65 64 20 66 | can be |called f|
|00001730| 72 6f 6d 20 61 20 47 72 | 6f 77 5a 6f 6e 65 20 70 |rom a Gr|owZone p|
|00001740| 72 6f 63 65 64 75 72 65 | 20 66 6f 72 20 74 68 69 |rocedure| for thi|
|00001750| 73 20 70 75 72 70 6f 73 | 65 2e 0d 0d 4c 50 69 63 |s purpos|e...LPic|
|00001760| 74 41 62 6f 72 74 20 63 | 61 6e 20 62 65 20 75 73 |tAbort c|an be us|
|00001770| 65 64 20 74 6f 20 61 62 | 61 6e 64 6f 6e 20 61 20 |ed to ab|andon a |
|00001780| 63 6f 6e 76 65 72 73 69 | 6f 6e 2c 20 41 6c 65 72 |conversi|on, Aler|
|00001790| 74 20 74 68 65 20 75 73 | 65 72 2c 20 65 74 63 2e |t the us|er, etc.|
|000017a0| 2c 20 61 6e 64 20 68 61 | 73 20 62 65 65 6e 20 64 |, and ha|s been d|
|000017b0| 65 73 69 67 6e 65 64 20 | 73 6f 20 4c 75 73 74 65 |esigned |so Luste|
|000017c0| 72 50 69 63 20 64 6f 65 | 73 6e 27 74 20 6e 65 65 |rPic doe|sn't nee|
|000017d0| 64 20 74 6f 20 70 61 74 | 63 68 20 74 68 65 20 47 |d to pat|ch the G|
|000017e0| 72 6f 77 5a 6f 6e 65 2e | 0d 0d 00 01 00 0d 00 00 |rowZone.|........|
|000017f0| 00 16 00 0d 00 00 00 17 | 00 0d 00 00 00 c4 00 0d |........|........|
|00001800| 00 00 00 c5 00 0d 00 00 | 01 eb 00 0d 00 00 01 ec |........|........|
|00001810| 00 0d 00 00 02 d7 00 0d | 00 00 02 d8 00 0d 00 00 |........|........|
|00001820| 03 65 00 0d 00 00 03 66 | 00 0d 00 00 0d 41 64 76 |.e.....f|.....Adv|
|00001830| 61 6e 63 65 64 20 26 20 | 4d 69 73 63 2e 20 55 74 |anced & |Misc. Ut|
|00001840| 69 6c 69 74 69 65 73 0d | 0d 4c 75 73 74 65 72 50 |ilities.|.LusterP|
|00001850| 69 63 20 70 72 6f 76 69 | 64 65 73 20 73 6f 6d 65 |ic provi|des some|
|00001860| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 66 75 6e 63 | additio|nal func|
|00001870| 74 69 6f 6e 73 20 74 68 | 61 74 20 61 72 65 20 75 |tions th|at are u|
|00001880| 73 65 66 75 6c 20 66 6f | 72 20 63 65 72 74 61 69 |seful fo|r certai|
|00001890| 6e 20 22 61 64 76 61 6e | 63 65 64 22 20 74 65 63 |n "advan|ced" tec|
|000018a0| 68 6e 69 71 75 65 73 20 | 62 65 79 6f 6e 64 20 6d |hniques |beyond m|
|000018b0| 65 72 65 20 70 69 63 74 | 75 72 65 20 63 6f 6e 76 |ere pict|ure conv|
|000018c0| 65 72 73 69 6f 6e 2e 0d | 0d 4d 61 6b 65 50 69 63 |ersion..|.MakePic|
|000018d0| 74 44 65 76 69 63 65 20 | 77 69 6c 6c 20 72 65 74 |tDevice |will ret|
|000018e0| 75 72 6e 20 61 20 47 72 | 61 70 68 69 63 73 20 44 |urn a Gr|aphics D|
|000018f0| 65 76 69 63 65 20 28 47 | 44 65 76 69 63 65 29 20 |evice (G|Device) |
|00001900| 69 6e 69 74 69 61 6c 69 | 7a 65 64 20 74 6f 20 74 |initiali|zed to t|
|00001910| 68 65 20 65 78 61 63 74 | 20 70 61 6c 65 74 74 65 |he exact| palette|
|00001920| 20 61 6e 64 20 63 6f 6c | 6f 72 20 74 61 62 6c 65 | and col|or table|
|00001930| 20 6f 66 20 61 20 67 69 | 76 65 6e 20 70 69 63 74 | of a gi|ven pict|
|00001940| 75 72 65 3b 20 20 4d 61 | 74 63 68 50 69 63 74 44 |ure; Ma|tchPictD|
|00001950| 65 76 69 63 65 20 69 73 | 20 75 73 65 66 75 6c 20 |evice is| useful |
|00001960| 66 6f 72 20 70 65 72 66 | 6f 72 6d 69 6e 67 20 6f |for perf|orming o|
|00001970| 66 66 73 63 72 65 65 6e | 20 50 69 78 4d 61 70 20 |ffscreen| PixMap |
|00001980| 64 72 61 77 69 6e 67 20 | 77 68 65 72 65 20 79 6f |drawing |where yo|
|00001990| 75 20 77 61 6e 74 20 74 | 68 65 20 64 65 73 74 69 |u want t|he desti|
|000019a0| 6e 61 74 69 6f 6e 20 63 | 47 72 61 66 50 6f 72 74 |nation c|GrafPort|
|000019b0| 20 74 6f 20 6d 61 74 63 | 68 20 74 68 65 20 63 6f | to matc|h the co|
|000019c0| 6c 6f 72 20 61 74 74 72 | 69 62 75 74 65 73 20 6f |lor attr|ibutes o|
|000019d0| 66 20 61 6e 20 61 72 62 | 69 74 72 61 72 79 20 70 |f an arb|itrary p|
|000019e0| 69 63 74 75 72 65 20 65 | 78 61 63 74 6c 79 2e 0d |icture e|xactly..|
|000019f0| 0d 4e 65 77 57 6f 72 6c | 64 43 6f 6c 6f 72 20 69 |.NewWorl|dColor i|
|00001a00| 73 20 61 20 66 75 6e 63 | 74 69 6f 6e 20 77 68 69 |s a func|tion whi|
|00001a10| 63 68 20 72 65 74 75 72 | 6e 73 20 22 54 52 55 45 |ch retur|ns "TRUE|
|00001a20| 22 20 69 66 20 43 6f 6c | 6f 72 20 51 75 69 63 6b |" if Col|or Quick|
|00001a30| 64 72 61 77 20 69 73 20 | 70 72 65 73 65 6e 74 20 |draw is |present |
|00001a40| 61 6e 64 20 22 46 41 4c | 53 45 22 20 69 66 20 69 |and "FAL|SE" if i|
|00001a50| 74 20 69 73 20 6e 6f 74 | 2e 0d 0d 4c 43 6f 6c 6f |t is not|...LColo|
|00001a60| 72 53 65 70 61 72 61 74 | 65 20 77 69 6c 6c 20 6d |rSeparat|e will m|
|00001a70| 61 70 20 61 20 50 69 78 | 4d 61 70 20 70 69 63 74 |ap a Pix|Map pict|
|00001a80| 75 72 65 20 74 6f 20 61 | 20 42 69 74 6d 61 70 20 |ure to a| Bitmap |
|00001a90| 70 69 63 74 75 72 65 20 | 63 6f 6e 73 69 73 74 69 |picture |consisti|
|00001aa0| 6e 67 20 6f 6e 6c 79 20 | 6f 66 20 74 68 65 20 70 |ng only |of the p|
|00001ab0| 69 78 65 6c 73 20 69 6e | 20 61 20 73 70 65 63 69 |ixels in| a speci|
|00001ac0| 66 69 65 64 20 22 49 6d | 61 67 65 57 72 69 74 65 |fied "Im|ageWrite|
|00001ad0| 72 22 20 63 6f 6c 6f 72 | 2e 0d 0d 4c 50 69 63 74 |r" color|...LPict|
|00001ae0| 50 69 78 53 69 7a 65 20 | 77 69 6c 6c 20 72 65 74 |PixSize |will ret|
|00001af0| 75 72 6e 20 74 68 65 20 | 70 69 78 65 6c 20 64 65 |urn the |pixel de|
|00001b00| 70 74 68 20 6f 66 20 74 | 68 65 20 61 20 70 69 63 |pth of t|he a pic|
|00001b10| 74 75 72 65 27 73 20 69 | 6e 74 65 72 6e 61 6c 20 |ture's i|nternal |
|00001b20| 50 69 78 4d 61 70 2e 0d | 0d 00 01 00 0d 00 00 00 |PixMap..|........|
|00001b30| 1c 00 0d 00 00 00 1d 00 | 0d 00 00 00 9c 00 0d 00 |........|........|
|00001b40| 00 00 9d 00 0d 00 00 01 | c4 00 0d 00 00 01 c5 00 |........|........|
|00001b50| 0d 00 00 02 2e 00 0d 00 | 00 02 2f 00 0d 00 00 02 |........|../.....|
|00001b60| ae 00 0d 00 00 02 af 00 | 0d 00 00 02 fc 00 0d 00 |........|........|
|00001b70| 00 02 fd 00 0d 00 00 49 | 49 2e 20 4c 75 73 74 65 |.......I|I. Luste|
|00001b80| 72 50 69 63 20 52 6f 75 | 74 69 6e 65 73 0d 0d 0d |rPic Rou|tines...|
|00001b90| 46 6f 72 20 74 68 65 20 | 73 61 6b 65 20 6f 66 20 |For the |sake of |
|00001ba0| 63 6c 61 72 69 74 79 20 | 61 6e 64 20 65 61 73 65 |clarity |and ease|
|00001bb0| 20 6f 66 20 75 73 65 2c | 20 65 61 63 68 20 66 75 | of use,| each fu|
|00001bc0| 6e 63 74 69 6f 6e 20 68 | 61 73 20 62 65 65 6e 20 |nction h|as been |
|00001bd0| 70 6c 61 63 65 64 20 6f | 6e 20 69 74 73 20 6f 77 |placed o|n its ow|
|00001be0| 6e 20 70 61 67 65 20 77 | 69 74 68 20 61 20 64 65 |n page w|ith a de|
|00001bf0| 74 61 69 6c 65 64 20 64 | 65 73 63 72 69 70 74 69 |tailed d|escripti|
|00001c00| 6f 6e 20 61 6e 64 20 61 | 6e 20 65 78 61 6d 70 6c |on and a|n exampl|
|00001c10| 65 20 69 6e 20 62 6f 74 | 68 20 43 20 61 6e 64 20 |e in bot|h C and |
|00001c20| 50 61 73 63 61 6c 2e 0d | 0d 0d 70 61 73 63 61 6c |Pascal..|..pascal|
|00001c30| 20 76 6f 69 64 20 4c 75 | 73 74 65 72 50 69 63 53 | void Lu|sterPicS|
|00001c40| 74 61 72 74 75 70 20 28 | 73 68 6f 72 74 20 72 65 |tartup (|short re|
|00001c50| 73 49 44 29 3b 0d 50 72 | 6f 63 65 64 75 72 65 20 |sID);.Pr|ocedure |
|00001c60| 4c 75 73 74 65 72 50 69 | 63 53 74 61 72 74 75 70 |LusterPi|cStartup|
|00001c70| 20 28 72 65 73 49 44 3a | 49 6e 74 65 67 65 72 29 | (resID:|Integer)|
|00001c80| 3b 0d 0d 49 6e 69 74 69 | 61 6c 69 7a 65 73 20 74 |;..Initi|alizes t|
|00001c90| 68 65 20 4c 75 73 74 65 | 72 50 69 63 20 6d 6f 64 |he Luste|rPic mod|
|00001ca0| 75 6c 65 2c 20 61 6c 6c | 6f 63 61 74 69 6e 67 20 |ule, all|ocating |
|00001cb0| 69 6e 74 65 72 6e 61 6c | 20 6d 65 6d 6f 72 79 20 |internal| memory |
|00001cc0| 73 74 72 75 63 74 75 72 | 65 73 2e 20 59 6f 75 20 |structur|es. You |
|00001cd0| 6d 75 73 74 20 63 61 6c | 6c 20 4c 75 73 74 65 72 |must cal|l Luster|
|00001ce0| 50 69 63 53 74 61 72 74 | 75 70 20 62 65 66 6f 72 |PicStart|up befor|
|00001cf0| 65 20 75 73 69 6e 67 20 | 61 6e 79 20 6f 74 68 65 |e using |any othe|
|00001d00| 72 20 66 75 6e 63 74 69 | 6f 6e 73 20 69 6e 20 74 |r functi|ons in t|
|00001d10| 68 69 73 20 6c 69 62 72 | 61 72 79 2e 0d 00 17 00 |his libr|ary.....|
|00001d20| 0d 00 00 00 18 00 0d 00 | 00 00 19 00 0d 00 00 00 |........|........|
|00001d30| b1 00 0d 00 00 00 b2 00 | 0d 00 00 00 b3 00 0d 00 |........|........|
|00001d40| 00 00 df 00 0d 00 00 01 | 0b 00 0d 00 00 01 0c 00 |........|........|
|00001d50| 0d 00 00 01 a6 00 0d 00 | 00 0d 54 68 65 20 72 65 |........|..The re|
|00001d60| 73 49 44 20 70 61 72 61 | 6d 65 74 65 72 20 69 73 |sID para|meter is|
|00001d70| 20 69 67 6e 6f 72 65 64 | 20 69 6e 20 74 68 69 73 | ignored| in this|
|00001d80| 20 72 65 6c 65 61 73 65 | 20 6f 66 20 4c 75 73 74 | release| of Lust|
|00001d90| 65 72 50 69 63 20 61 6e | 64 20 69 73 20 72 65 73 |erPic an|d is res|
|00001da0| 65 72 76 65 64 20 66 6f | 72 20 66 75 74 75 72 65 |erved fo|r future|
|00001db0| 20 65 6e 68 61 6e 63 65 | 6d 65 6e 74 3b 20 66 6f | enhance|ment; fo|
|00001dc0| 72 20 6e 6f 77 2c 20 70 | 61 73 73 20 30 20 72 65 |r now, p|ass 0 re|
|00001dd0| 73 49 44 2e 0d 0d 0d 70 | 61 73 63 61 6c 20 76 6f |sID....p|ascal vo|
|00001de0| 69 64 20 4c 75 73 74 65 | 72 50 69 63 53 68 75 74 |id Luste|rPicShut|
|00001df0| 64 6f 77 6e 20 28 76 6f | 69 64 29 3b 0d 50 72 6f |down (vo|id);.Pro|
|00001e00| 63 65 64 75 72 65 20 4c | 75 73 74 65 72 50 69 63 |cedure L|usterPic|
|00001e10| 53 68 75 74 64 6f 77 6e | 3b 0d 0d 53 68 75 74 73 |Shutdown|;..Shuts|
|00001e20| 20 64 6f 77 6e 20 74 68 | 65 20 4c 75 73 74 65 72 | down th|e Luster|
|00001e30| 50 69 63 20 6d 6f 64 75 | 6c 65 20 62 79 20 64 65 |Pic modu|le by de|
|00001e40| 61 6c 6c 6f 63 61 74 69 | 6e 67 20 61 6c 6c 20 74 |allocati|ng all t|
|00001e50| 68 65 20 6d 65 6d 6f 72 | 79 20 73 74 72 75 63 74 |he memor|y struct|
|00001e60| 75 72 65 73 20 63 72 65 | 61 74 65 64 20 64 75 72 |ures cre|ated dur|
|00001e70| 69 6e 67 20 4c 75 73 74 | 65 72 50 69 63 53 74 61 |ing Lust|erPicSta|
|00001e80| 72 74 75 70 2e 0d 0d 59 | 6f 75 20 64 6f 20 6e 6f |rtup...Y|ou do no|
|00001e90| 74 20 6e 65 65 64 20 74 | 6f 20 63 61 6c 6c 20 4c |t need t|o call L|
|00001ea0| 75 73 74 65 72 50 69 63 | 53 68 75 74 64 6f 77 6e |usterPic|Shutdown|
|00001eb0| 20 69 66 20 79 6f 75 20 | 61 72 65 20 61 62 6f 75 | if you |are abou|
|00001ec0| 74 20 74 6f 20 64 6f 20 | 61 6e 20 45 78 69 74 54 |t to do |an ExitT|
|00001ed0| 6f 53 68 65 6c 6c 2e 20 | 20 54 68 65 20 6f 6e 6c |oShell. | The onl|
|00001ee0| 79 20 72 65 61 6c 20 70 | 75 72 70 6f 73 65 20 6f |y real p|urpose o|
|00001ef0| 66 20 4c 75 73 74 65 72 | 50 69 63 53 68 75 74 64 |f Luster|PicShutd|
|00001f00| 6f 77 6e 20 69 73 20 66 | 6f 72 20 73 70 65 63 69 |own is f|or speci|
|00001f10| 61 6c 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |al appli|cations |
|00001f20| 74 68 61 74 20 6e 65 65 | 64 20 74 6f 20 74 75 72 |that nee|d to tur|
|00001f30| 6e 20 74 68 69 73 20 73 | 65 67 6d 65 6e 74 20 63 |n this s|egment c|
|00001f40| 6f 6d 70 6c 65 74 65 6c | 79 20 22 6f 66 66 2c 22 |ompletel|y "off,"|
|00001f50| 20 66 6f 72 20 69 6e 73 | 74 61 6e 63 65 20 74 6f | for ins|tance to|
|00001f60| 20 70 65 72 66 6f 72 6d | 20 61 6e 20 55 6e 6c 6f | perform| an Unlo|
|00001f70| 61 64 53 65 67 20 6f 72 | 20 74 6f 20 64 69 73 70 |adSeg or| to disp|
|00001f80| 6f 73 65 20 74 68 65 20 | 6d 6f 64 75 6c 65 27 73 |ose the |module's|
|00001f90| 20 6d 65 6d 6f 72 79 20 | 73 74 72 75 63 74 75 72 | memory |structur|
|00001fa0| 65 73 20 69 66 20 69 74 | 27 73 20 70 61 72 74 20 |es if it|'s part |
|00001fb0| 6f 66 20 61 20 44 65 73 | 6b 20 41 63 63 65 73 73 |of a Des|k Access|
|00001fc0| 6f 72 79 2e 0d 00 01 00 | 0d 00 00 00 7c 00 0d 00 |ory.....|....|...|
|00001fd0| 00 00 7d 00 0d 00 00 00 | 7e 00 0d 00 00 00 a4 00 |..}.....|~.......|
|00001fe0| 0d 00 00 00 c1 00 0d 00 | 00 00 c2 00 0d 00 00 01 |........|........|
|00001ff0| 2d 00 0d 00 00 01 2e 00 | 0d 00 00 02 6c 00 0d 00 |-.......|....l...|
|00002000| 00 0d 0d 70 61 73 63 61 | 6c 20 50 69 63 48 61 6e |...pasca|l PicHan|
|00002010| 64 6c 65 20 4c 50 69 63 | 74 43 6f 6e 76 65 72 74 |dle LPic|tConvert|
|00002020| 20 28 50 69 63 48 61 6e | 64 6c 65 20 73 72 63 50 | (PicHan|dle srcP|
|00002030| 69 63 74 2c 0d 73 68 6f | 72 74 20 72 65 73 6f 6c |ict,.sho|rt resol|
|00002040| 75 74 69 6f 6e 29 3b 0d | 46 75 6e 63 74 69 6f 6e |ution);.|Function|
|00002050| 20 4c 50 69 63 74 43 6f | 6e 76 65 72 74 20 28 73 | LPictCo|nvert (s|
|00002060| 72 63 50 69 63 74 3a 50 | 69 63 48 61 6e 64 6c 65 |rcPict:P|icHandle|
|00002070| 3b 0d 20 72 65 73 6f 6c | 75 74 69 6f 6e 3a 49 6e |;. resol|ution:In|
|00002080| 74 65 67 65 72 29 3a 50 | 69 63 48 61 6e 64 6c 65 |teger):P|icHandle|
|00002090| 3b 0d 0d 43 6f 6e 76 65 | 72 74 73 20 61 20 70 69 |;..Conve|rts a pi|
|000020a0| 63 74 75 72 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 |cture co|ntaining|
|000020b0| 20 50 69 78 4d 61 70 73 | 20 74 6f 20 61 20 62 6c | PixMaps| to a bl|
|000020c0| 61 63 6b 20 26 20 77 68 | 69 74 65 20 70 69 63 74 |ack & wh|ite pict|
|000020d0| 75 72 65 2c 20 65 61 63 | 68 20 63 6f 6c 6f 72 65 |ure, eac|h colore|
|000020e0| 64 20 70 69 78 65 6c 20 | 62 65 69 6e 67 20 72 65 |d pixel |being re|
|000020f0| 70 72 65 73 65 6e 74 65 | 64 20 69 6e 20 74 68 65 |presente|d in the|
|00002100| 20 62 65 73 74 20 70 6f | 73 73 69 62 6c 65 20 77 | best po|ssible w|
|00002110| 61 79 20 77 69 74 68 20 | 61 20 64 69 74 68 65 72 |ay with |a dither|
|00002120| 65 64 20 70 61 74 74 65 | 72 6e 2e 0d 0d 54 68 65 |ed patte|rn...The|
|00002130| 20 73 72 63 50 69 63 74 | 20 50 69 63 48 61 6e 64 | srcPict| PicHand|
|00002140| 6c 65 20 69 73 20 63 6f | 6e 76 65 72 74 65 64 20 |le is co|nverted |
|00002150| 62 75 74 20 6e 6f 74 20 | 61 6c 74 65 72 65 64 3b |but not |altered;|
|00002160| 20 20 6e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 | note t|hat the |
|00002170| 66 75 6e 63 74 69 6f 6e | 20 72 65 74 75 72 6e 73 |function| returns|
|00002180| 20 61 20 6e 65 77 6c 79 | 20 63 72 65 61 74 65 64 | a newly| created|
|00002190| 20 50 69 63 48 61 6e 64 | 6c 65 20 28 77 68 69 63 | PicHand|le (whic|
|000021a0| 68 20 79 6f 75 20 6d 75 | 73 74 20 64 69 73 70 6f |h you mu|st dispo|
|000021b0| 73 65 20 6f 66 20 79 6f | 75 72 73 65 6c 66 29 3b |se of yo|urself);|
|000021c0| 20 74 68 65 20 6f 72 69 | 67 69 6e 61 6c 20 70 69 | the ori|ginal pi|
|000021d0| 63 74 75 72 65 20 69 73 | 20 6e 6f 74 20 61 6c 74 |cture is| not alt|
|000021e0| 65 72 65 64 2e 0d 0d 49 | 66 20 4c 50 69 63 74 43 |ered...I|f LPictC|
|000021f0| 6f 6e 76 65 72 74 20 66 | 61 69 6c 73 20 28 64 75 |onvert f|ails (du|
|00002200| 65 20 74 6f 20 6e 6f 74 | 20 65 6e 6f 75 67 68 20 |e to not| enough |
|00002210| 6d 65 6d 6f 72 79 29 2c | 20 74 68 69 73 20 66 75 |memory),| this fu|
|00002220| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 73 20 4e |nction r|eturns N|
|00002230| 49 4c 2e 0d 0d 54 68 65 | 20 71 75 61 6c 69 74 79 |IL...The| quality|
|00002240| 20 6f 66 20 74 68 65 20 | 63 6f 6e 76 65 72 74 65 | of the |converte|
|00002250| 64 20 70 69 63 74 75 72 | 65 20 64 65 70 65 6e 64 |d pictur|e depend|
|00002260| 73 20 6f 6e 20 74 68 65 | 20 76 61 6c 75 65 20 6f |s on the| value o|
|00002270| 66 20 72 65 73 6f 6c 75 | 74 69 6f 6e 20 77 68 69 |f resolu|tion whi|
|00002280| 63 68 20 63 61 6e 20 62 | 65 20 6f 6e 65 20 6f 66 |ch can b|e one of|
|00002290| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 70 | the fol|lowing p|
|000022a0| 72 65 64 65 66 69 6e 65 | 64 20 76 61 6c 75 65 73 |redefine|d values|
|000022b0| 3a 0d 00 01 00 0d 00 00 | 00 02 00 0d 00 00 00 34 |:.......|.......4|
|000022c0| 00 0d 00 00 00 47 00 0d | 00 00 00 71 00 0d 00 00 |.....G..|...q....|
|000022d0| 00 91 00 0d 00 00 00 92 | 00 0d 00 00 01 2b 00 0d |........|.....+..|
|000022e0| 00 00 01 2c 00 0d 00 00 | 01 e5 00 0d 00 00 01 e6 |...,....|........|
|000022f0| 00 0d 00 00 02 33 00 0d | 00 00 02 34 00 0d 00 00 |.....3..|...4....|
|00002300| 02 b1 00 0d 00 00 0d 0d | 70 69 63 74 52 65 73 31 |........|pictRes1|
|00002310| 09 09 09 37 32 20 44 50 | 49 20 72 65 73 6f 6c 75 |...72 DP|I resolu|
|00002320| 74 69 6f 6e 20 28 4d 61 | 63 69 6e 74 6f 73 68 20 |tion (Ma|cintosh |
|00002330| 73 63 72 65 65 6e 29 0d | 70 69 63 74 52 65 73 32 |screen).|pictRes2|
|00002340| 09 09 09 31 35 30 20 44 | 50 49 0d 70 69 63 74 52 |...150 D|PI.pictR|
|00002350| 65 73 33 09 09 09 33 30 | 30 20 44 50 49 20 28 4c |es3...30|0 DPI (L|
|00002360| 61 73 65 72 57 72 69 74 | 65 72 20 72 65 73 6f 6c |aserWrit|er resol|
|00002370| 75 74 69 6f 6e 29 0d 70 | 69 63 74 52 65 73 43 6f |ution).p|ictResCo|
|00002380| 6c 6f 72 09 09 49 6d 61 | 67 65 57 72 69 74 65 72 |lor..Ima|geWriter|
|00002390| 20 38 2d 63 6f 6c 6f 72 | 20 6d 6f 64 65 0d 0d 0d | 8-color| mode...|
|000023a0| 50 69 63 74 52 65 73 31 | 20 69 73 20 74 68 65 20 |PictRes1| is the |
|000023b0| 6c 6f 77 65 73 74 20 72 | 65 73 6f 6c 75 74 69 6f |lowest r|esolutio|
|000023c0| 6e 20 61 6e 64 20 72 65 | 71 75 69 72 65 73 20 74 |n and re|quires t|
|000023d0| 68 65 20 6c 65 61 73 74 | 20 6d 65 6d 6f 72 79 3b |he least| memory;|
|000023e0| 20 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 61 6c 77 | you sh|ould alw|
|000023f0| 61 79 73 20 75 73 65 20 | 74 68 69 73 20 72 65 73 |ays use |this res|
|00002400| 6f 6c 75 74 69 6f 6e 20 | 69 66 20 79 6f 75 20 6f |olution |if you o|
|00002410| 6e 6c 79 20 77 61 6e 74 | 20 74 6f 20 64 72 61 77 |nly want| to draw|
|00002420| 20 74 68 65 20 63 6f 6e | 76 65 72 74 65 64 20 70 | the con|verted p|
|00002430| 69 63 74 75 72 65 20 74 | 6f 20 74 68 65 20 73 63 |icture t|o the sc|
|00002440| 72 65 65 6e 20 28 74 68 | 65 20 68 69 67 68 65 72 |reen (th|e higher|
|00002450| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 73 20 77 69 6c | resolut|ions wil|
|00002460| 6c 20 61 70 70 65 61 72 | 20 74 6f 6f 20 22 64 61 |l appear| too "da|
|00002470| 72 6b 22 20 6f 6e 20 61 | 20 37 32 20 64 70 69 20 |rk" on a| 72 dpi |
|00002480| 6d 6f 6e 69 74 6f 72 29 | 2e 0d 0d 50 69 63 74 52 |monitor)|...PictR|
|00002490| 65 73 32 20 70 72 6f 64 | 75 63 65 73 20 62 65 74 |es2 prod|uces bet|
|000024a0| 74 65 72 20 71 75 61 6c | 69 74 79 20 74 68 61 6e |ter qual|ity than|
|000024b0| 20 50 69 63 74 52 65 73 | 31 20 62 75 74 20 72 65 | PictRes|1 but re|
|000024c0| 71 75 69 72 65 73 20 74 | 77 69 63 65 20 74 68 65 |quires t|wice the|
|000024d0| 20 6d 65 6d 6f 72 79 2e | 20 20 50 69 63 74 52 65 | memory.| PictRe|
|000024e0| 73 32 20 69 73 20 75 73 | 65 66 75 6c 20 66 6f 72 |s2 is us|eful for|
|000024f0| 20 70 72 69 6e 74 65 72 | 73 20 74 68 61 74 20 63 | printer|s that c|
|00002500| 61 6e 20 70 72 6f 64 75 | 63 65 20 61 20 31 34 34 |an produ|ce a 144|
|00002510| 20 64 70 69 20 64 6f 74 | 20 6d 61 74 72 69 78 2e | dpi dot| matrix.|
|00002520| 0d 0d 50 69 63 74 52 65 | 73 33 20 70 72 6f 64 75 |..PictRe|s3 produ|
|00002530| 63 65 73 20 74 68 65 20 | 62 65 73 74 20 70 6f 73 |ces the |best pos|
|00002540| 73 69 62 6c 65 20 71 75 | 61 6c 69 74 79 20 66 6f |sible qu|ality fo|
|00002550| 72 20 62 6c 61 63 6b 20 | 26 20 77 68 69 74 65 20 |r black |& white |
|00002560| 70 72 69 6e 74 69 6e 67 | 20 61 6e 64 20 69 73 20 |printing| and is |
|00002570| 69 64 65 61 6c 20 66 6f | 72 20 4c 61 73 65 72 57 |ideal fo|r LaserW|
|00002580| 72 69 74 65 72 2c 20 44 | 65 73 6b 57 72 69 74 65 |riter, D|eskWrite|
|00002590| 72 2c 20 6f 72 20 61 6e | 79 20 6f 74 68 65 72 20 |r, or an|y other |
|000025a0| 68 69 67 68 20 72 65 73 | 6f 6c 75 74 69 6f 6e 20 |high res|olution |
|000025b0| 70 72 69 6e 74 65 72 20 | 2d 2d 20 62 75 74 20 69 |printer |-- but i|
|000025c0| 74 20 64 6f 65 73 20 72 | 65 71 75 69 72 65 20 66 |t does r|equire f|
|000025d0| 6f 75 72 20 74 69 6d 65 | 73 20 74 68 65 20 6d 65 |our time|s the me|
|000025e0| 6d 6f 72 79 20 61 73 20 | 50 69 63 74 52 65 73 31 |mory as |PictRes1|
|000025f0| 2e 0d 0d 50 69 63 74 52 | 65 73 43 6f 6c 6f 72 20 |...PictR|esColor |
|00002600| 77 69 6c 6c 20 70 72 6f | 64 75 63 65 20 61 20 6d |will pro|duce a m|
|00002610| 75 6c 74 69 63 6f 6c 6f | 72 20 69 6d 61 67 65 20 |ulticolo|r image |
|00002620| 75 73 69 6e 67 20 22 49 | 6d 61 67 65 57 72 69 74 |using "I|mageWrit|
|00002630| 65 72 22 20 63 6f 6c 6f | 72 73 20 28 77 68 69 63 |er" colo|rs (whic|
|00002640| 68 20 61 72 65 20 74 68 | 65 20 65 69 67 68 74 20 |h are th|e eight |
|00002650| 6f 72 69 67 69 6e 61 6c | 20 63 6f 6c 6f 72 73 20 |original| colors |
|00002660| 64 65 66 69 6e 65 64 20 | 69 6e 20 51 75 69 63 6b |defined |in Quick|
|00002670| 64 72 61 77 2c 20 49 6e | 73 69 64 65 20 4d 61 63 |draw, In|side Mac|
|00002680| 20 76 6f 6c 20 31 29 2e | 20 20 54 68 69 73 20 6d | vol 1).| This m|
|00002690| 75 6c 74 69 63 6f 6c 6f | 72 20 69 6d 61 67 65 20 |ulticolo|r image |
|000026a0| 69 73 20 61 63 63 6f 6d | 70 6c 69 73 68 65 64 20 |is accom|plished |
|000026b0| 62 79 20 73 65 76 65 72 | 61 6c 20 6f 76 65 72 6c |by sever|al overl|
|000026c0| 61 79 73 20 6f 66 20 42 | 69 74 6d 61 70 73 2c 20 |ays of B|itmaps, |
|000026d0| 65 61 63 68 20 42 69 74 | 6d 61 70 20 64 72 61 77 |each Bit|map draw|
|000026e0| 6e 20 77 69 74 68 20 69 | 74 73 20 72 65 73 70 65 |n with i|ts respe|
|000026f0| 63 74 69 76 65 20 66 6f | 72 65 67 72 6f 75 6e 64 |ctive fo|reground|
|00002700| 20 63 6f 6c 6f 72 20 73 | 65 74 20 74 6f 20 6f 6e | color s|et to on|
|00002710| 65 20 6f 66 20 74 68 65 | 20 65 69 67 68 74 20 63 |e of the| eight c|
|00002720| 6f 6c 6f 72 73 2e 20 20 | 50 69 63 74 52 65 73 43 |olors. |PictResC|
|00002730| 6f 6c 6f 72 20 69 73 20 | 75 73 65 66 75 6c 20 66 |olor is |useful f|
|00002740| 6f 72 20 70 72 69 6e 74 | 69 6e 67 20 50 69 78 4d |or print|ing PixM|
|00002750| 61 70 20 70 69 63 74 75 | 72 65 73 20 74 6f 20 74 |ap pictu|res to t|
|00002760| 68 65 20 49 6d 61 67 65 | 57 72 69 74 65 72 20 61 |he Image|Writer a|
|00002770| 6e 64 20 6f 74 68 65 72 | 20 64 65 76 69 63 65 73 |nd other| devices|
|00002780| 20 74 68 61 74 20 77 69 | 6c 6c 20 6f 6e 6c 79 20 | that wi|ll only |
|00002790| 73 75 70 70 6f 72 74 20 | 74 68 65 20 22 6f 6c 64 |support |the "old|
|000027a0| 20 77 6f 72 6c 64 22 20 | 38 20 63 6f 6c 6f 72 73 | world" |8 colors|
|000027b0| 2e 0d 00 01 00 0d 00 00 | 00 02 00 0d 00 00 00 0b |........|........|
|000027c0| 00 09 00 10 00 0c 00 09 | 00 18 00 0d 00 09 00 18 |........|........|
|000027d0| 00 32 00 0d 00 00 00 3b | 00 09 00 10 00 3c 00 09 |.2.....;|.....<..|
|000027e0| 00 18 00 3d 00 09 00 18 | 00 45 00 0d 00 00 00 4e |...=....|.E.....N|
|000027f0| 00 09 00 10 00 4f 00 09 | 00 18 00 50 00 09 00 18 |.....O..|...P....|
|00002800| 00 71 00 0d 00 00 00 7e | 00 09 00 0c 00 7f 00 09 |.q.....~|........|
|00002810| 00 18 00 98 00 0d 00 00 | 00 99 00 0d 00 00 00 9a |........|........|
|00002820| 00 0d 00 00 01 84 00 0d | 00 00 01 85 00 0d 00 00 |........|........|
|00002830| 02 1b 00 0d 00 00 02 1c | 00 0d 00 00 02 ec 00 0d |........|........|
|00002840| 00 00 02 ed 00 0d 00 00 | 04 ac 00 0d 00 00 0d 4c |........|.......L|
|00002850| 50 69 63 74 43 6f 6e 76 | 65 72 74 20 77 6f 72 6b |PictConv|ert work|
|00002860| 73 20 63 6f 72 72 65 63 | 74 6c 79 20 61 6e 64 20 |s correc|tly and |
|00002870| 73 61 66 65 6c 79 20 65 | 76 65 6e 20 6f 6e 20 6d |safely e|ven on m|
|00002880| 61 63 68 69 6e 65 73 20 | 74 68 61 74 20 64 6f 20 |achines |that do |
|00002890| 6e 6f 74 20 73 75 70 70 | 6f 72 74 20 43 6f 6c 6f |not supp|ort Colo|
|000028a0| 72 20 51 75 69 63 6b 64 | 72 61 77 20 6f 72 20 33 |r Quickd|raw or 3|
|000028b0| 32 2d 42 69 74 20 51 75 | 69 63 6b 64 72 61 77 3b |2-Bit Qu|ickdraw;|
|000028c0| 20 68 65 6e 63 65 20 63 | 6f 6c 6f 72 20 70 72 69 | hence c|olor pri|
|000028d0| 6e 74 69 6e 67 20 6f 66 | 20 50 69 78 4d 61 70 73 |nting of| PixMaps|
|000028e0| 20 62 65 63 6f 6d 65 73 | 20 70 6f 73 73 69 62 6c | becomes| possibl|
|000028f0| 65 20 6f 6e 20 61 20 4d | 61 63 20 50 6c 75 73 2c |e on a M|ac Plus,|
|00002900| 20 4d 61 63 20 43 6c 61 | 73 73 69 63 2c 20 65 74 | Mac Cla|ssic, et|
|00002910| 63 2e 0d 0d 49 4d 50 4f | 52 54 41 4e 54 20 4e 4f |c...IMPO|RTANT NO|
|00002920| 54 45 3a 20 4f 6e 6c 79 | 20 74 68 65 20 50 69 78 |TE: Only| the Pix|
|00002930| 4d 61 70 20 70 6f 72 74 | 69 6f 6e 73 20 6f 66 20 |Map port|ions of |
|00002940| 74 68 65 20 73 6f 75 72 | 63 65 20 70 69 63 74 75 |the sour|ce pictu|
|00002950| 72 65 20 77 69 6c 6c 20 | 63 6f 6e 76 65 72 74 20 |re will |convert |
|00002960| 74 6f 20 64 69 74 68 65 | 72 65 64 20 67 72 61 79 |to dithe|red gray|
|00002970| 20 70 61 74 74 65 72 6e | 73 2e 20 41 6c 6c 20 6f | pattern|s. All o|
|00002980| 74 68 65 72 20 6e 6f 6e | 2d 50 69 78 4d 61 70 20 |ther non|-PixMap |
|00002990| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 74 68 65 20 |contents| of the |
|000029a0| 73 6f 75 72 63 65 20 70 | 69 63 74 75 72 65 20 28 |source p|icture (|
|000029b0| 74 65 78 74 2c 20 6f 62 | 6a 65 63 74 73 2c 20 65 |text, ob|jects, e|
|000029c0| 74 63 2e 29 20 77 69 6c | 6c 20 62 65 20 6d 61 70 |tc.) wil|l be map|
|000029d0| 70 65 64 20 73 74 72 61 | 69 67 68 74 20 61 63 72 |ped stra|ight acr|
|000029e0| 6f 73 73 20 74 6f 20 74 | 68 65 20 63 6f 6e 76 65 |oss to t|he conve|
|000029f0| 72 74 65 64 20 70 69 63 | 74 75 72 65 20 61 73 2d |rted pic|ture as-|
|00002a00| 69 73 20 61 6e 64 20 77 | 69 6c 6c 20 6e 6f 74 20 |is and w|ill not |
|00002a10| 72 65 73 75 6c 74 20 69 | 6e 20 61 6e 20 69 6d 70 |result i|n an imp|
|00002a20| 72 6f 76 65 64 20 63 6f | 6e 76 65 72 73 69 6f 6e |roved co|nversion|
|00002a30| 2e 0d 0d 41 64 64 69 74 | 69 6f 6e 61 6c 20 48 69 |...Addit|ional Hi|
|00002a40| 6e 74 73 20 2f 20 54 69 | 70 73 20 75 73 69 6e 67 |nts / Ti|ps using|
|00002a50| 20 4c 50 69 63 74 43 6f | 6e 76 65 72 74 0d 0d 41 | LPictCo|nvert..A|
|00002a60| 6c 77 61 79 73 20 75 73 | 65 20 70 69 63 74 52 65 |lways us|e pictRe|
|00002a70| 73 31 58 20 72 65 73 6f | 6c 75 74 69 6f 6e 20 77 |s1X reso|lution w|
|00002a80| 68 65 6e 20 6f 6e 6c 79 | 20 64 72 61 77 69 6e 67 |hen only| drawing|
|00002a90| 20 74 6f 20 74 68 65 20 | 73 63 72 65 65 6e 3b 20 | to the |screen; |
|00002aa0| 20 74 68 65 20 68 69 67 | 68 65 72 20 72 65 73 6f | the hig|her reso|
|00002ab0| 6c 75 74 69 6f 6e 73 20 | 77 69 6c 6c 20 61 70 70 |lutions |will app|
|00002ac0| 65 61 72 20 74 6f 6f 20 | 22 64 61 72 6b 22 20 73 |ear too |"dark" s|
|00002ad0| 69 6e 63 65 20 74 68 65 | 20 4d 61 63 69 6e 74 6f |ince the| Macinto|
|00002ae0| 73 68 20 73 63 72 65 65 | 6e 20 63 61 6e 6e 6f 74 |sh scree|n cannot|
|00002af0| 20 64 69 73 74 69 6e 67 | 75 69 73 68 20 61 62 6f | disting|uish abo|
|00002b00| 76 65 20 37 32 20 64 70 | 69 20 42 69 74 6d 61 70 |ve 72 dp|i Bitmap|
|00002b10| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 2e 0d 0d 46 6f | resolut|ion...Fo|
|00002b20| 72 20 6f 70 74 69 6d 75 | 6d 20 70 72 69 6e 74 69 |r optimu|m printi|
|00002b30| 6e 67 20 72 65 73 75 6c | 74 73 20 79 6f 75 20 73 |ng resul|ts you s|
|00002b40| 68 6f 75 6c 64 20 6e 6f | 74 20 63 6f 6e 76 65 72 |hould no|t conver|
|00002b50| 74 20 74 6f 20 61 20 68 | 69 67 68 65 72 20 72 65 |t to a h|igher re|
|00002b60| 73 6f 6c 75 74 69 6f 6e | 20 74 68 61 6e 20 74 68 |solution| than th|
|00002b70| 65 20 70 72 69 6e 74 65 | 72 20 69 73 20 63 61 70 |e printe|r is cap|
|00002b80| 61 62 6c 65 20 6f 66 3b | 20 20 70 72 69 6e 74 69 |able of;| printi|
|00002b90| 6e 67 20 33 30 30 20 64 | 70 69 2c 20 66 6f 72 20 |ng 300 d|pi, for |
|00002ba0| 69 6e 73 74 61 6e 63 65 | 2c 20 74 6f 20 61 20 64 |instance|, to a d|
|00002bb0| 6f 74 20 6d 61 74 72 69 | 78 20 70 72 69 6e 74 65 |ot matri|x printe|
|00002bc0| 72 20 74 68 61 74 20 63 | 61 6e 27 74 20 70 72 6f |r that c|an't pro|
|00002bd0| 64 75 63 65 20 6d 6f 72 | 65 20 74 68 61 6e 20 31 |duce mor|e than 1|
|00002be0| 34 34 20 64 70 69 20 77 | 69 6c 6c 20 72 65 73 75 |44 dpi w|ill resu|
|00002bf0| 6c 74 20 69 6e 20 69 6d | 61 67 65 73 20 74 68 61 |lt in im|ages tha|
|00002c00| 74 20 61 72 65 20 66 61 | 72 20 74 6f 6f 20 64 61 |t are fa|r too da|
|00002c10| 72 6b 2e 0d 00 01 00 0d | 00 00 00 c5 00 0d 00 00 |rk......|........|
|00002c20| 00 c6 00 0d 00 00 01 e4 | 00 0d 00 00 01 e5 00 0d |........|........|
|00002c30| 00 00 02 10 00 0d 00 00 | 02 11 00 0d 00 00 02 cf |........|........|
|00002c40| 00 0d 00 00 02 d0 00 0d | 00 00 03 c6 00 0d 00 00 |........|........|
|00002c50| 0d 43 6f 6e 76 65 72 74 | 69 6e 67 20 6c 61 72 67 |.Convert|ing larg|
|00002c60| 65 20 50 69 78 4d 61 70 | 20 70 69 63 74 75 72 65 |e PixMap| picture|
|00002c70| 73 20 74 6f 20 33 30 30 | 20 64 70 69 20 63 61 6e |s to 300| dpi can|
|00002c80| 20 63 6f 6e 73 75 6d 65 | 20 6c 61 72 67 65 20 61 | consume| large a|
|00002c90| 6d 6f 75 6e 74 73 20 6f | 66 20 6d 65 6d 6f 72 79 |mounts o|f memory|
|00002ca0| 3b 20 20 74 68 69 73 20 | 63 61 6e 20 72 61 6e 67 |; this |can rang|
|00002cb0| 65 20 62 65 74 77 65 65 | 6e 20 33 30 4b 20 61 6e |e betwee|n 30K an|
|00002cc0| 64 20 32 30 30 4b 20 64 | 65 70 65 6e 64 69 6e 67 |d 200K d|epending|
|00002cd0| 20 6f 6e 20 74 68 65 20 | 73 6f 75 72 63 65 20 70 | on the |source p|
|00002ce0| 69 63 74 75 72 65 20 73 | 69 7a 65 2e 20 20 49 66 |icture s|ize. If|
|00002cf0| 20 6d 65 6d 6f 72 79 20 | 69 73 20 61 20 63 72 69 | memory |is a cri|
|00002d00| 74 69 63 61 6c 20 63 6f | 6d 70 6f 6e 65 6e 74 20 |tical co|mponent |
|00002d10| 6f 66 20 79 6f 75 72 20 | 70 72 6f 67 72 61 6d 20 |of your |program |
|00002d20| 79 6f 75 20 6d 61 79 20 | 77 61 6e 74 20 74 6f 20 |you may |want to |
|00002d30| 63 6f 6e 73 69 64 65 72 | 20 75 73 69 6e 67 20 31 |consider| using 1|
|00002d40| 35 30 20 64 70 69 20 69 | 6e 73 74 65 61 64 20 2d |50 dpi i|nstead -|
|00002d50| 2d 20 61 20 4c 61 73 65 | 72 57 72 69 74 65 72 2c |- a Lase|rWriter,|
|00002d60| 20 66 6f 72 20 69 6e 73 | 74 61 6e 63 65 2c 20 70 | for ins|tance, p|
|00002d70| 72 6f 64 75 63 65 73 20 | 61 20 66 61 69 72 6c 79 |roduces |a fairly|
|00002d80| 20 64 65 63 65 6e 74 20 | 71 75 61 6c 69 74 79 20 | decent |quality |
|00002d90| 61 74 20 31 35 30 20 64 | 70 69 2e 0d 0d 49 66 20 |at 150 d|pi...If |
|00002da0| 79 6f 75 20 6b 6e 6f 77 | 20 79 6f 75 20 61 72 65 |you know| you are|
|00002db0| 20 70 72 69 6e 74 69 6e | 67 20 74 6f 20 61 20 63 | printin|g to a c|
|00002dc0| 6f 6c 6f 72 20 70 72 69 | 6e 74 65 72 20 63 61 70 |olor pri|nter cap|
|00002dd0| 61 62 6c 65 20 6f 66 20 | 70 72 69 6e 74 69 6e 67 |able of |printing|
|00002de0| 20 67 6f 6f 64 20 50 69 | 78 4d 61 70 73 2c 20 79 | good Pi|xMaps, y|
|00002df0| 6f 75 20 73 68 6f 75 6c | 64 6e 27 74 20 64 6f 20 |ou shoul|dn't do |
|00002e00| 61 6e 79 20 63 6f 6e 76 | 65 72 73 69 6f 6e 20 61 |any conv|ersion a|
|00002e10| 74 20 61 6c 6c 3b 20 20 | 69 66 20 79 6f 75 20 74 |t all; |if you t|
|00002e20| 72 79 20 70 69 63 74 52 | 65 73 43 6f 6c 6f 72 20 |ry pictR|esColor |
|00002e30| 79 6f 75 20 6d 69 67 68 | 74 20 6c 6f 6f 73 65 20 |you migh|t loose |
|00002e40| 73 6f 6d 65 20 63 6f 6c | 6f 72 73 20 69 6e 20 74 |some col|ors in t|
|00002e50| 68 65 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 20 61 |he trans|lation a|
|00002e60| 6e 64 20 69 6e 20 74 68 | 69 73 20 63 61 73 65 20 |nd in th|is case |
|00002e70| 79 6f 75 20 77 6f 75 6c | 64 20 62 65 20 62 65 74 |you woul|d be bet|
|00002e80| 74 65 72 20 6f 66 66 20 | 6c 65 61 76 69 6e 67 20 |ter off |leaving |
|00002e90| 74 68 65 20 70 69 63 74 | 75 72 65 20 61 6c 6f 6e |the pict|ure alon|
|00002ea0| 65 20 28 73 65 65 20 62 | 65 6c 6f 77 29 2e 0d 0d |e (see b|elow)...|
|00002eb0| 50 69 63 74 52 65 73 43 | 6f 6c 6f 72 20 70 72 6f |PictResC|olor pro|
|00002ec0| 64 75 63 65 73 20 22 49 | 6d 61 67 65 57 72 69 74 |duces "I|mageWrit|
|00002ed0| 65 72 22 20 63 6f 6c 6f | 72 73 20 77 68 69 63 68 |er" colo|rs which|
|00002ee0| 20 63 6f 6e 73 69 73 74 | 20 6f 6e 6c 79 20 6f 66 | consist| only of|
|00002ef0| 20 74 68 65 20 6f 72 69 | 67 69 6e 61 6c 20 38 20 | the ori|ginal 8 |
|00002f00| 63 6f 6c 6f 72 73 20 67 | 69 76 65 6e 20 69 6e 20 |colors g|iven in |
|00002f10| 56 6f 6c 75 6d 65 20 49 | 20 6f 66 20 49 6e 73 69 |Volume I| of Insi|
|00002f20| 64 65 20 4d 61 63 69 6e | 74 6f 73 68 2e 20 20 57 |de Macin|tosh. W|
|00002f30| 68 69 6c 65 20 74 68 69 | 73 20 6d 65 74 68 6f 64 |hile thi|s method|
|00002f40| 20 69 73 20 74 68 65 20 | 6f 6e 6c 79 20 77 61 79 | is the |only way|
|00002f50| 20 74 6f 20 63 75 72 72 | 65 6e 74 6c 79 20 6d 61 | to curr|ently ma|
|00002f60| 70 20 61 20 50 69 78 4d | 61 70 20 74 6f 20 61 6e |p a PixM|ap to an|
|00002f70| 20 49 6d 61 67 65 57 72 | 69 74 65 72 20 49 49 2c | ImageWr|iter II,|
|00002f80| 20 63 65 72 74 61 69 6e | 20 63 6f 6c 6f 72 73 20 | certain| colors |
|00002f90| 6d 69 67 68 74 20 62 65 | 20 64 72 6f 70 70 65 64 |might be| dropped|
|00002fa0| 20 69 6e 20 74 68 65 20 | 70 72 6f 63 65 73 73 2e | in the |process.|
|00002fb0| 20 54 68 65 20 72 65 61 | 73 6f 6e 20 69 73 20 73 | The rea|son is s|
|00002fc0| 6f 6d 65 20 6f 66 20 74 | 68 65 20 6c 69 67 68 74 |ome of t|he light|
|00002fd0| 65 72 20 73 68 61 64 65 | 73 20 28 6c 69 67 68 74 |er shade|s (light|
|00002fe0| 20 67 72 61 79 20 63 6f | 6c 6f 72 2c 20 6c 69 67 | gray co|lor, lig|
|00002ff0| 68 74 20 62 6c 75 65 73 | 2c 20 65 74 63 2e 29 20 |ht blues|, etc.) |
|00003000| 77 69 6c 6c 20 6d 61 70 | 20 74 6f 20 74 68 65 20 |will map| to the |
|00003010| 64 65 73 74 69 6e 61 74 | 69 6f 6e 20 70 69 63 74 |destinat|ion pict|
|00003020| 75 72 65 20 61 73 20 22 | 77 68 69 74 65 22 20 64 |ure as "|white" d|
|00003030| 75 65 20 74 6f 20 74 68 | 65 69 72 20 6c 69 67 68 |ue to th|eir ligh|
|00003040| 74 20 69 6e 74 65 6e 73 | 69 74 79 20 61 6e 64 20 |t intens|ity and |
|00003050| 74 68 65 20 66 61 63 74 | 20 74 68 61 74 20 61 6e |the fact| that an|
|00003060| 20 49 6d 61 67 65 57 72 | 69 74 65 72 20 63 61 6e | ImageWr|iter can|
|00003070| 20 6f 6e 6c 79 20 72 65 | 63 6f 67 6e 69 7a 65 20 | only re|cognize |
|00003080| 38 20 63 6f 6c 6f 72 73 | 20 28 62 6c 61 63 6b 20 |8 colors| (black |
|00003090| 61 6e 64 20 77 68 69 74 | 65 20 61 72 65 20 74 77 |and whit|e are tw|
|000030a0| 6f 20 6f 66 20 74 68 6f | 73 65 20 63 6f 6c 6f 72 |o of tho|se color|
|000030b0| 73 29 3b 20 61 64 64 69 | 74 69 6f 6e 61 6c 6c 79 |s); addi|tionally|
|000030c0| 2c 20 62 72 6f 77 6e 20 | 63 6f 6c 6f 72 73 20 77 |, brown |colors w|
|000030d0| 69 6c 6c 20 68 61 76 65 | 20 61 20 74 65 6e 64 65 |ill have| a tende|
|000030e0| 6e 63 79 20 74 6f 20 62 | 65 20 6d 61 70 70 65 64 |ncy to b|e mapped|
|000030f0| 20 61 73 20 22 72 65 64 | 22 20 62 65 63 61 75 73 | as "red|" becaus|
|00003100| 65 20 22 62 72 6f 77 6e | 22 20 69 73 20 6e 6f 74 |e "brown|" is not|
|00003110| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 38 20 63 6f | one of |the 8 co|
|00003120| 6c 6f 72 73 2e 0d 00 01 | 00 0d 00 00 01 4c 00 0d |lors....|.....L..|
|00003130| 00 00 01 4d 00 0d 00 00 | 02 5f 00 0d 00 00 02 60 |...M....|._.....`|
|00003140| 00 0d 00 00 04 d6 00 0d | 00 00 0d 49 66 20 79 6f |........|...If yo|
|00003150| 75 20 67 69 76 65 20 4c | 50 69 63 74 43 6f 6e 76 |u give L|PictConv|
|00003160| 65 72 74 20 61 20 62 6c | 61 63 6b 20 26 20 77 68 |ert a bl|ack & wh|
|00003170| 69 74 65 20 70 69 63 74 | 75 72 65 20 74 6f 20 62 |ite pict|ure to b|
|00003180| 65 67 69 6e 20 77 69 74 | 68 2c 20 6e 6f 20 72 65 |egin wit|h, no re|
|00003190| 61 6c 20 63 6f 6e 76 65 | 72 73 69 6f 6e 20 74 61 |al conve|rsion ta|
|000031a0| 6b 65 73 20 70 6c 61 63 | 65 2e 20 41 6c 6c 20 74 |kes plac|e. All t|
|000031b0| 68 61 74 20 68 61 70 70 | 65 6e 73 20 69 73 20 61 |hat happ|ens is a|
|000031c0| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 70 69 63 | copy of| the pic|
|000031d0| 74 75 72 65 20 69 73 20 | 6d 61 64 65 20 61 6e 64 |ture is |made and|
|000031e0| 20 74 68 61 74 20 63 6f | 70 79 20 69 73 20 72 65 | that co|py is re|
|000031f0| 74 75 72 6e 65 64 20 61 | 73 20 74 68 65 20 66 75 |turned a|s the fu|
|00003200| 6e 63 74 69 6f 6e 20 72 | 65 73 75 6c 74 3b 20 73 |nction r|esult; s|
|00003210| 69 6d 69 6c 61 72 6c 79 | 2c 20 69 66 20 79 6f 75 |imilarly|, if you|
|00003220| 20 70 61 73 73 20 61 20 | 63 6f 6c 6f 72 20 70 69 | pass a |color pi|
|00003230| 63 74 75 72 65 20 74 68 | 61 74 20 69 73 20 6f 62 |cture th|at is ob|
|00003240| 6a 65 63 74 2d 6f 72 69 | 65 6e 74 65 64 20 6f 6e |ject-ori|ented on|
|00003250| 6c 79 20 28 6e 6f 20 50 | 69 78 4d 61 70 73 29 20 |ly (no P|ixMaps) |
|00003260| 69 74 20 77 69 6c 6c 20 | 61 6c 73 6f 20 67 65 74 |it will |also get|
|00003270| 20 6d 61 70 70 65 64 20 | 73 74 72 61 69 67 68 74 | mapped |straight|
|00003280| 20 61 63 72 6f 73 73 20 | 77 69 74 68 20 6e 6f 20 | across |with no |
|00003290| 72 65 61 6c 20 63 6f 6e | 76 65 72 73 69 6f 6e 2c |real con|version,|
|000032a0| 20 6f 6e 6c 79 20 74 68 | 69 73 20 74 69 6d 65 20 | only th|is time |
|000032b0| 65 61 63 68 20 6f 62 6a | 65 63 74 20 77 69 6c 6c |each obj|ect will|
|000032c0| 20 72 65 73 75 6c 74 20 | 69 6e 20 22 49 6d 61 67 | result |in "Imag|
|000032d0| 65 57 72 69 74 65 72 22 | 20 38 2d 63 6f 6c 6f 72 |eWriter"| 8-color|
|000032e0| 20 63 68 6f 69 63 65 73 | 20 66 6f 72 20 65 61 63 | choices| for eac|
|000032f0| 68 20 63 6f 6c 6f 72 65 | 64 20 6f 62 6a 65 63 74 |h colore|d object|
|00003300| 3b 20 61 67 61 69 6e 2c | 20 69 66 20 79 6f 75 20 |; again,| if you |
|00003310| 6b 6e 6f 77 20 74 68 65 | 20 70 72 69 6e 74 65 72 |know the| printer|
|00003320| 20 69 73 20 63 61 70 61 | 62 6c 65 20 6f 66 20 68 | is capa|ble of h|
|00003330| 61 6e 64 6c 69 6e 67 20 | 43 6f 6c 6f 72 20 51 75 |andling |Color Qu|
|00003340| 69 63 6b 64 72 61 77 20 | 70 69 63 74 75 72 65 73 |ickdraw |pictures|
|00003350| 2c 20 69 74 20 69 73 20 | 62 65 73 74 20 74 6f 20 |, it is |best to |
|00003360| 64 6f 20 6e 6f 20 63 6f | 6e 76 65 72 73 69 6f 6e |do no co|nversion|
|00003370| 20 61 74 20 61 6c 6c 2e | 0d 0d 49 6e 20 74 68 65 | at all.|..In the|
|00003380| 20 63 61 73 65 20 6f 66 | 20 62 6c 61 63 6b 20 26 | case of| black &|
|00003390| 20 77 68 69 74 65 20 69 | 6e 70 75 74 73 20 28 72 | white i|nputs (r|
|000033a0| 65 73 75 6c 74 69 6e 67 | 20 69 6e 20 74 68 65 20 |esulting| in the |
|000033b0| 73 61 6d 65 20 70 69 63 | 74 75 72 65 20 66 6f 72 |same pic|ture for|
|000033c0| 20 74 68 65 20 6f 75 74 | 70 75 74 29 20 79 6f 75 | the out|put) you|
|000033d0| 20 63 61 6e 20 73 61 76 | 65 20 70 72 6f 63 65 73 | can sav|e proces|
|000033e0| 73 69 6e 67 20 74 69 6d | 65 20 62 79 20 66 69 72 |sing tim|e by fir|
|000033f0| 73 74 20 63 68 65 63 6b | 69 6e 67 20 74 68 65 20 |st check|ing the |
|00003400| 73 6f 75 72 63 65 20 70 | 69 63 74 75 72 65 20 66 |source p|icture f|
|00003410| 6f 72 20 69 74 73 20 74 | 79 70 65 20 2d 2d 20 73 |or its t|ype -- s|
|00003420| 65 65 20 4c 50 69 63 74 | 54 79 70 65 20 69 6e 20 |ee LPict|Type in |
|00003430| 74 68 69 73 20 6d 61 6e | 75 61 6c 2e 0d 0d 49 6e |this man|ual...In|
|00003440| 20 74 68 65 20 63 61 73 | 65 20 6f 66 20 61 6e 20 | the cas|e of an |
|00003450| 6f 62 6a 65 63 74 2d 6f | 72 69 65 6e 74 65 64 20 |object-o|riented |
|00003460| 63 6f 6c 6f 72 20 70 69 | 63 74 75 72 65 20 28 77 |color pi|cture (w|
|00003470| 68 65 72 65 20 74 68 65 | 20 6d 61 70 70 69 6e 67 |here the| mapping|
|00003480| 20 77 6f 6e 27 74 20 74 | 68 65 72 65 66 6f 72 65 | won't t|herefore|
|00003490| 20 72 65 73 75 6c 74 20 | 69 6e 20 67 72 61 79 73 | result |in grays|
|000034a0| 63 61 6c 65 20 64 69 74 | 68 65 72 69 6e 67 29 2c |cale dit|hering),|
|000034b0| 20 61 20 77 6f 72 6b 2d | 61 72 6f 75 6e 64 20 6d | a work-|around m|
|000034c0| 69 67 68 74 20 62 65 20 | 74 6f 20 66 69 72 73 74 |ight be |to first|
|000034d0| 20 63 6f 6e 76 65 72 74 | 20 74 68 65 20 70 69 63 | convert| the pic|
|000034e0| 74 75 72 65 20 74 6f 20 | 61 6c 6c 20 50 69 78 4d |ture to |all PixM|
|000034f0| 61 70 20 62 65 66 6f 72 | 65 20 70 61 73 73 69 6e |ap befor|e passin|
|00003500| 67 20 69 74 20 74 6f 20 | 4c 50 69 63 74 43 6f 6e |g it to |LPictCon|
|00003510| 76 65 72 74 2e 20 59 6f | 75 20 63 61 6e 20 64 6f |vert. Yo|u can do|
|00003520| 20 74 68 69 73 20 62 79 | 20 64 72 61 77 69 6e 67 | this by| drawing|
|00003530| 20 74 68 65 20 70 69 63 | 74 75 72 65 20 74 6f 20 | the pic|ture to |
|00003540| 61 6e 20 6f 66 66 73 63 | 72 65 65 6e 20 50 69 78 |an offsc|reen Pix|
|00003550| 4d 61 70 20 61 6e 64 20 | 74 68 65 6e 20 64 6f 69 |Map and |then doi|
|00003560| 6e 67 20 61 20 43 6f 70 | 79 42 69 74 73 20 74 6f |ng a Cop|yBits to|
|00003570| 20 63 72 65 61 74 65 20 | 61 20 6e 65 77 20 70 69 | create |a new pi|
|00003580| 63 74 75 72 65 20 28 73 | 65 65 20 4d 61 6b 65 50 |cture (s|ee MakeP|
|00003590| 69 63 74 44 65 76 69 63 | 65 20 69 6e 20 74 68 69 |ictDevic|e in thi|
|000035a0| 73 20 6d 61 6e 75 61 6c | 20 61 6c 6f 6e 67 20 77 |s manual| along w|
|000035b0| 69 74 68 20 41 70 70 6c | 65 20 54 65 63 68 20 4e |ith Appl|e Tech N|
|000035c0| 6f 74 65 73 20 66 6f 72 | 20 67 75 69 64 61 6e 63 |otes for| guidanc|
|000035d0| 65 20 69 6e 20 6f 66 66 | 73 63 72 65 65 6e 20 50 |e in off|screen P|
|000035e0| 69 78 4d 61 70 20 64 72 | 61 77 69 6e 67 29 2e 0d |ixMap dr|awing)..|
|000035f0| 00 01 00 0d 00 00 02 2f | 00 0d 00 00 02 30 00 0d |......./|.....0..|
|00003600| 00 00 02 f3 00 0d 00 00 | 02 f4 00 0d 00 00 04 a6 |........|........|
|00003610| 00 0d 00 00 0d 0d 43 6f | 6e 76 65 72 74 69 6e 67 |......Co|nverting|
|00003620| 20 50 69 78 4d 61 70 73 | 20 6f 72 20 53 63 72 65 | PixMaps| or Scre|
|00003630| 65 6e 73 20 44 69 72 65 | 63 74 6c 79 0d 0d 59 6f |ens Dire|ctly..Yo|
|00003640| 75 20 6d 61 79 20 68 61 | 76 65 20 61 20 73 69 74 |u may ha|ve a sit|
|00003650| 75 61 74 69 6f 6e 20 77 | 68 65 72 65 20 79 6f 75 |uation w|here you|
|00003660| 20 77 61 6e 74 20 74 6f | 20 63 6f 6e 76 65 72 74 | want to| convert|
|00003670| 20 61 20 72 61 77 20 50 | 69 78 4d 61 70 20 61 6e | a raw P|ixMap an|
|00003680| 64 2f 6f 72 20 74 68 65 | 20 73 63 72 65 65 6e 20 |d/or the| screen |
|00003690| 69 6d 61 67 65 20 74 6f | 20 67 72 61 79 73 63 61 |image to| graysca|
|000036a0| 6c 65 20 64 69 74 68 65 | 72 73 20 6f 72 20 49 6d |le dithe|rs or Im|
|000036b0| 61 67 65 57 72 69 74 65 | 72 20 63 6f 6c 6f 72 73 |ageWrite|r colors|
|000036c0| 3b 20 74 68 65 20 70 72 | 65 73 65 6e 74 73 20 74 |; the pr|esents t|
|000036d0| 68 65 20 6e 65 65 64 20 | 66 6f 72 20 61 64 64 69 |he need |for addi|
|000036e0| 74 69 6f 6e 61 6c 20 63 | 6f 64 65 20 73 69 6e 63 |tional c|ode sinc|
|000036f0| 65 20 4c 75 73 74 65 72 | 50 69 63 20 6f 6e 6c 79 |e Luster|Pic only|
|00003700| 20 63 6f 6e 76 65 72 74 | 73 20 70 69 63 74 75 72 | convert|s pictur|
|00003710| 65 73 20 61 6e 64 20 6e | 6f 74 20 73 74 72 61 69 |es and n|ot strai|
|00003720| 67 68 74 20 50 69 78 4d | 61 70 73 2e 0d 00 01 00 |ght PixM|aps.....|
|00003730| 0d 00 00 00 02 00 0d 00 | 00 00 29 00 0d 00 00 00 |........|..).....|
|00003740| 2a 00 0d 00 00 01 19 00 | 0d 00 00 0d 4f 70 74 69 |*.......|....Opti|
|00003750| 6d 75 6d 20 4c 61 73 65 | 72 57 72 69 74 65 72 20 |mum Lase|rWriter |
|00003760| 50 72 69 6e 74 69 6e 67 | 0d 0d 46 6f 72 20 41 70 |Printing|..For Ap|
|00003770| 70 6c 65 20 4c 61 73 65 | 72 57 72 69 74 65 72 20 |ple Lase|rWriter |
|00003780| 70 72 69 6e 74 69 6e 67 | 2c 20 68 69 67 68 2d 72 |printing|, high-r|
|00003790| 65 73 20 42 69 74 6d 61 | 70 73 20 77 69 6c 6c 20 |es Bitma|ps will |
|000037a0| 62 65 20 64 69 73 74 6f | 72 74 65 64 20 69 66 20 |be disto|rted if |
|000037b0| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |you don'|t have t|
|000037c0| 68 65 20 63 6f 72 72 65 | 63 74 20 20 73 65 74 74 |he corre|ct sett|
|000037d0| 69 6e 67 73 20 66 6f 72 | 20 69 74 73 20 64 72 69 |ings for| its dri|
|000037e0| 76 65 72 20 28 22 50 61 | 67 65 20 53 65 74 75 70 |ver ("Pa|ge Setup|
|000037f0| 22 29 2e 20 54 68 65 20 | 6f 70 74 69 6d 75 6d 20 |"). The |optimum |
|00003800| 73 65 74 74 69 6e 67 73 | 20 66 6f 72 20 4c 61 73 |settings| for Las|
|00003810| 65 72 57 72 69 74 65 72 | 20 61 72 65 20 74 6f 20 |erWriter| are to |
|00003820| 74 75 72 6e 20 6f 66 66 | 20 47 72 61 70 68 69 63 |turn off| Graphic|
|00003830| 73 20 53 6d 6f 6f 74 68 | 69 6e 67 20 61 6e 64 20 |s Smooth|ing and |
|00003840| 74 6f 20 74 75 72 6e 20 | 6f 6e 20 50 72 65 63 69 |to turn |on Preci|
|00003850| 73 69 6f 6e 20 42 69 74 | 6d 61 70 2e 0d 0d 53 69 |sion Bit|map...Si|
|00003860| 6e 63 65 20 74 68 65 73 | 65 20 4c 61 73 65 72 57 |nce thes|e LaserW|
|00003870| 72 69 74 65 72 20 6f 70 | 74 69 6f 6e 73 20 77 6f |riter op|tions wo|
|00003880| 72 6b 20 62 65 73 74 20 | 69 74 20 6d 61 79 20 62 |rk best |it may b|
|00003890| 65 20 64 65 73 69 72 61 | 62 6c 65 20 74 6f 20 22 |e desira|ble to "|
|000038a0| 66 6f 72 63 65 22 20 74 | 68 65 73 65 20 73 65 74 |force" t|hese set|
|000038b0| 74 69 6e 67 73 20 73 6f | 20 79 6f 75 72 20 61 70 |tings so| your ap|
|000038c0| 70 6c 69 63 61 74 69 6f | 6e 20 64 6f 65 73 6e 27 |plicatio|n doesn'|
|000038d0| 74 20 6e 65 65 64 20 74 | 6f 20 64 65 70 65 6e 64 |t need t|o depend|
|000038e0| 20 6f 6e 20 74 68 65 20 | 75 73 65 72 20 74 6f 20 | on the |user to |
|000038f0| 6b 6e 6f 77 20 61 62 6f | 75 74 20 74 68 69 73 20 |know abo|ut this |
|00003900| 61 6e 64 20 74 6f 20 6d | 61 6b 65 20 74 68 6f 73 |and to m|ake thos|
|00003910| 65 20 73 65 74 74 69 6e | 67 73 2e 20 54 68 65 20 |e settin|gs. The |
|00003920| 77 61 79 20 74 6f 20 64 | 6f 20 74 68 69 73 20 2d |way to d|o this -|
|00003930| 2d 20 77 69 74 68 6f 75 | 74 20 76 69 6f 6c 61 74 |- withou|t violat|
|00003940| 69 6e 67 20 61 6e 79 20 | 41 70 70 6c 65 20 67 75 |ing any |Apple gu|
|00003950| 69 64 65 6c 69 6e 65 73 | 20 61 6e 64 20 77 69 74 |idelines| and wit|
|00003960| 68 6f 75 74 20 62 65 63 | 6f 6d 65 20 70 72 69 6e |hout bec|ome prin|
|00003970| 74 65 72 2d 64 65 70 65 | 6e 64 65 6e 74 20 2d 2d |ter-depe|ndent --|
|00003980| 20 69 73 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0d | is as f|ollows:.|
|00003990| 0d 31 2e 20 57 72 69 74 | 65 20 61 20 73 68 6f 72 |.1. Writ|e a shor|
|000039a0| 74 20 70 72 6f 67 72 61 | 6d 20 74 68 61 74 20 64 |t progra|m that d|
|000039b0| 6f 65 73 20 6e 6f 74 68 | 69 6e 67 20 62 75 74 20 |oes noth|ing but |
|000039c0| 6f 70 65 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |open the| current|
|000039d0| 20 70 72 69 6e 74 65 72 | 20 28 50 72 4f 70 65 6e | printer| (PrOpen|
|000039e0| 29 20 61 6e 64 20 61 20 | 22 50 61 67 65 20 53 65 |) and a |"Page Se|
|000039f0| 74 75 70 22 20 28 50 72 | 53 74 6c 44 69 61 6c 6f |tup" (Pr|StlDialo|
|00003a00| 67 29 2e 0d 0d 32 2e 20 | 41 66 74 65 72 20 61 20 |g)...2. |After a |
|00003a10| 50 61 67 65 20 53 65 74 | 75 70 2c 20 79 6f 75 72 |Page Set|up, your|
|00003a20| 20 54 48 50 72 69 6e 74 | 20 77 69 6c 6c 20 62 65 | THPrint| will be|
|00003a30| 20 73 65 74 20 74 6f 20 | 77 68 61 74 65 76 65 72 | set to |whatever|
|00003a40| 20 77 61 73 20 63 68 6f | 73 65 6e 20 6f 6e 20 74 | was cho|sen on t|
|00003a50| 68 65 20 64 69 61 6c 6f | 67 20 28 69 6e 20 74 68 |he dialo|g (in th|
|00003a60| 69 73 20 63 61 73 65 20 | 74 68 65 20 4c 61 73 65 |is case |the Lase|
|00003a70| 72 57 72 69 74 65 72 20 | 6f 70 74 69 6f 6e 73 20 |rWriter |options |
|00003a80| 6d 65 6e 74 69 6f 6e 65 | 64 20 61 62 6f 76 65 29 |mentione|d above)|
|00003a90| 2e 0d 00 01 00 0d 00 00 | 00 1e 00 0d 00 00 00 1f |........|........|
|00003aa0| 00 0d 00 00 01 12 00 0d | 00 00 01 13 00 0d 00 00 |........|........|
|00003ab0| 02 45 00 0d 00 00 02 46 | 00 0d 00 00 02 b9 00 0d |.E.....F|........|
|00003ac0| 00 00 02 ba 00 0d 00 00 | 03 47 00 0d 00 00 0d 33 |........|.G.....3|
|00003ad0| 2e 20 53 61 76 65 20 74 | 68 65 20 54 48 50 72 69 |. Save t|he THPri|
|00003ae0| 6e 74 20 61 73 20 61 20 | 72 65 73 6f 75 72 63 65 |nt as a |resource|
|00003af0| 20 74 6f 20 61 20 72 65 | 73 6f 75 72 63 65 20 66 | to a re|source f|
|00003b00| 69 6c 65 20 28 6f 72 20 | 74 6f 20 74 68 65 20 61 |ile (or |to the a|
|00003b10| 70 70 6c 69 63 61 74 69 | 6f 6e 27 73 20 72 65 73 |pplicati|on's res|
|00003b20| 6f 75 72 63 65 29 20 75 | 73 69 6e 67 20 61 6e 79 |ource) u|sing any|
|00003b30| 20 72 65 73 6f 75 72 63 | 65 20 74 79 70 65 20 61 | resourc|e type a|
|00003b40| 6e 64 20 49 44 20 6f 66 | 20 79 6f 75 72 20 63 68 |nd ID of| your ch|
|00003b50| 6f 69 63 65 2e 0d 0d 34 | 2e 20 54 68 65 6e 20 69 |oice...4|. Then i|
|00003b60| 6e 20 74 68 65 20 66 69 | 6e 61 6c 20 61 70 70 6c |n the fi|nal appl|
|00003b70| 69 63 61 74 69 6f 6e 20 | 79 6f 75 20 67 65 74 20 |ication |you get |
|00003b80| 67 65 74 20 74 68 69 73 | 20 72 65 73 6f 75 72 63 |get this| resourc|
|00003b90| 65 20 61 73 20 79 6f 75 | 72 20 64 65 66 61 75 6c |e as you|r defaul|
|00003ba0| 74 20 54 48 50 72 69 6e | 74 3b 20 20 6d 61 6b 65 |t THPrin|t; make|
|00003bb0| 20 73 75 72 65 20 79 6f | 75 20 64 6f 20 61 20 50 | sure yo|u do a P|
|00003bc0| 72 56 61 6c 69 64 61 74 | 65 20 77 69 74 68 20 69 |rValidat|e with i|
|00003bd0| 74 20 77 68 69 63 68 20 | 77 69 6c 6c 20 67 75 61 |t which |will gua|
|00003be0| 72 61 6e 74 65 65 20 69 | 74 20 72 65 6d 61 69 6e |rantee i|t remain|
|00003bf0| 73 20 63 6f 6d 70 61 74 | 69 62 6c 65 20 77 69 74 |s compat|ible wit|
|00003c00| 68 20 74 68 65 20 63 75 | 72 72 65 6e 74 6c 79 20 |h the cu|rrently |
|00003c10| 63 68 6f 73 65 6e 20 70 | 72 69 6e 74 65 72 20 61 |chosen p|rinter a|
|00003c20| 6e 64 2f 6f 72 20 77 69 | 74 68 20 66 75 74 75 72 |nd/or wi|th futur|
|00003c30| 65 20 72 65 6c 65 61 73 | 65 73 20 6f 66 20 74 68 |e releas|es of th|
|00003c40| 65 20 70 72 69 6e 74 65 | 72 20 64 72 69 76 65 72 |e printe|r driver|
|00003c50| 2e 0d 00 01 00 0d 00 00 | 00 88 00 0d 00 00 00 89 |........|........|
|00003c60| 00 0d 00 00 01 84 00 0d | 00 00 0d 54 68 69 73 20 |........|...This |
|00003c70| 6d 65 74 68 6f 64 20 67 | 75 61 72 61 6e 74 65 65 |method g|uarantee|
|00003c80| 73 20 63 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 20 |s compat|ibility |
|00003c90| 77 68 69 6c 65 20 69 74 | 20 6c 65 74 73 20 79 6f |while it| lets yo|
|00003ca0| 75 20 22 70 72 65 73 65 | 74 22 20 63 65 72 74 61 |u "prese|t" certa|
|00003cb0| 69 6e 20 70 72 69 6e 74 | 65 72 20 6f 70 74 69 6f |in print|er optio|
|00003cc0| 6e 73 21 0d 0d 46 4f 52 | 20 59 4f 55 52 20 43 4f |ns!..FOR| YOUR CO|
|00003cd0| 4e 56 45 4e 49 45 4e 43 | 45 20 57 45 20 48 41 56 |NVENIENC|E WE HAV|
|00003ce0| 45 20 53 55 50 50 4c 49 | 45 44 20 41 20 52 45 53 |E SUPPLI|ED A RES|
|00003cf0| 4f 55 52 43 45 20 57 49 | 54 48 20 54 48 45 20 43 |OURCE WI|TH THE C|
|00003d00| 4f 52 52 45 43 54 20 4c | 41 53 45 52 57 52 49 54 |ORRECT L|ASERWRIT|
|00003d10| 45 52 20 53 45 54 54 49 | 4e 47 53 2e 20 20 54 68 |ER SETTI|NGS. Th|
|00003d20| 69 73 20 72 65 73 6f 75 | 72 63 65 20 69 73 20 72 |is resou|rce is r|
|00003d30| 65 73 54 79 70 65 20 27 | 50 52 45 43 27 20 63 61 |esType '|PREC' ca|
|00003d40| 6e 20 62 65 20 63 6f 70 | 69 65 64 20 77 69 74 68 |n be cop|ied with|
|00003d50| 20 52 65 73 45 64 69 74 | 20 61 6e 64 20 69 73 20 | ResEdit| and is |
|00003d60| 69 6e 20 74 68 65 20 66 | 69 6c 65 20 63 61 6c 6c |in the f|ile call|
|00003d70| 65 64 20 22 4c 57 20 52 | 65 73 6f 75 72 63 65 22 |ed "LW R|esource"|
|00003d80| 20 61 6e 64 20 68 61 73 | 20 61 6e 20 49 44 20 6f | and has| an ID o|
|00003d90| 66 20 31 32 38 2e 0d 0d | 0d 70 61 73 63 61 6c 20 |f 128...|.pascal |
|00003da0| 73 68 6f 72 74 20 4c 50 | 69 63 74 54 79 70 65 20 |short LP|ictType |
|00003db0| 28 50 69 63 48 61 6e 64 | 6c 65 20 74 68 65 50 69 |(PicHand|le thePi|
|00003dc0| 63 74 29 3b 0d 46 75 6e | 63 74 69 6f 6e 20 4c 50 |ct);.Fun|ction LP|
|00003dd0| 69 63 74 54 79 70 65 20 | 28 74 68 65 50 69 63 74 |ictType |(thePict|
|00003de0| 3a 50 69 63 48 61 6e 64 | 6c 65 29 3a 49 6e 74 65 |:PicHand|le):Inte|
|00003df0| 67 65 72 3b 0d 0d 52 65 | 74 75 72 6e 73 20 74 68 |ger;..Re|turns th|
|00003e00| 65 20 74 79 70 65 20 6f | 66 20 74 68 65 50 69 63 |e type o|f thePic|
|00003e10| 74 2e 20 20 54 68 69 73 | 20 69 73 20 68 6f 77 20 |t. This| is how |
|00003e20| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 65 |to deter|mine whe|
|00003e30| 74 68 65 72 20 61 20 70 | 69 63 74 75 72 65 20 69 |ther a p|icture i|
|00003e40| 73 20 62 6c 61 63 6b 20 | 26 20 77 68 69 74 65 20 |s black |& white |
|00003e50| 6f 72 20 63 6f 6c 6f 72 | 2e 0d 0d 41 20 66 75 6e |or color|...A fun|
|00003e60| 63 74 69 6f 6e 20 72 65 | 73 75 6c 74 20 6f 66 20 |ction re|sult of |
|00003e70| 31 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |1 indica|tes that|
|00003e80| 20 74 68 65 50 69 63 74 | 20 3d 20 50 49 43 54 20 | thePict| = PICT |
|00003e90| 49 20 28 6f 6c 64 2d 73 | 74 79 6c 65 20 62 6c 61 |I (old-s|tyle bla|
|00003ea0| 63 6b 20 26 20 77 68 69 | 74 65 20 66 6f 72 6d 61 |ck & whi|te forma|
|00003eb0| 74 29 3b 20 20 61 20 72 | 65 73 75 6c 74 20 6f 66 |t); a r|esult of|
|00003ec0| 20 32 20 69 6e 64 69 63 | 61 74 65 73 20 74 68 65 | 2 indic|ates the|
|00003ed0| 50 69 63 74 20 3d 20 50 | 49 43 54 20 49 49 20 28 |Pict = P|ICT II (|
|00003ee0| 43 6f 6c 6f 72 20 51 75 | 69 63 6b 64 72 61 77 29 |Color Qu|ickdraw)|
|00003ef0| 2e 0d 0d 4c 50 69 63 74 | 54 79 70 65 20 69 73 20 |...LPict|Type is |
|00003f00| 75 73 65 66 75 6c 20 66 | 6f 72 20 64 65 74 65 72 |useful f|or deter|
|00003f10| 6d 69 6e 69 6e 67 20 69 | 66 20 61 20 70 69 63 74 |mining i|f a pict|
|00003f20| 75 72 65 20 65 76 65 6e | 20 6e 65 65 64 73 20 63 |ure even| needs c|
|00003f30| 6f 6e 76 65 72 73 69 6f | 6e 20 2d 2d 20 61 6c 6c |onversio|n -- all|
|00003f40| 20 74 68 65 20 70 69 63 | 74 75 72 65 20 63 6f 6e | the pic|ture con|
|00003f50| 76 65 72 73 69 6f 6e 20 | 66 75 6e 63 74 69 6f 6e |version |function|
|00003f60| 73 20 69 6e 20 4c 75 73 | 74 65 72 50 69 63 20 6f |s in Lus|terPic o|
|00003f70| 6e 6c 79 20 72 65 61 6c | 6c 79 20 63 6f 6e 76 65 |nly real|ly conve|
|00003f80| 72 74 20 50 49 43 54 20 | 49 49 27 73 2e 0d 0d 00 |rt PICT |II's....|
|00003f90| 01 00 0d 00 00 00 5a 00 | 0d 00 00 00 5b 00 0d 00 |......Z.|....[...|
|00003fa0| 00 01 2d 00 0d 00 00 01 | 2e 00 0d 00 00 01 2f 00 |..-.....|....../.|
|00003fb0| 0d 00 00 01 5b 00 0d 00 | 00 01 8b 00 0d 00 00 01 |....[...|........|
|00003fc0| 8c 00 0d 00 00 01 f0 00 | 0d 00 00 01 f1 00 0d 00 |........|........|
|00003fd0| 00 02 88 00 0d 00 00 02 | 89 00 0d 00 00 03 24 00 |........|......$.|
|00003fe0| 0d 00 00 03 25 00 0d 00 | 00 70 61 73 63 61 6c 20 |....%...|.pascal |
|00003ff0| 50 69 63 48 61 6e 64 6c | 65 20 4c 43 6f 6c 6f 72 |PicHandl|e LColor|
|00004000| 53 65 70 61 72 61 74 65 | 20 28 50 69 63 48 61 6e |Separate| (PicHan|
|00004010| 64 6c 65 20 74 68 65 50 | 69 63 74 2c 0d 6c 6f 6e |dle theP|ict,.lon|
|00004020| 67 20 4f 6c 64 57 6f 72 | 6c 64 29 3b 0d 46 75 6e |g OldWor|ld);.Fun|
|00004030| 63 74 69 6f 6e 20 4c 43 | 6f 6c 6f 72 53 65 70 61 |ction LC|olorSepa|
|00004040| 72 61 74 65 20 28 74 68 | 65 50 69 63 74 3a 50 69 |rate (th|ePict:Pi|
|00004050| 63 48 61 6e 64 6c 65 3b | 0d 4f 6c 64 57 6f 72 6c |cHandle;|.OldWorl|
|00004060| 64 3a 4c 6f 6e 67 49 6e | 74 29 3a 50 69 63 48 61 |d:LongIn|t):PicHa|
|00004070| 6e 64 6c 65 3b 0d 0d 43 | 72 65 61 74 65 73 20 61 |ndle;..C|reates a|
|00004080| 6e 64 20 72 65 74 75 72 | 6e 73 20 61 20 6e 65 77 |nd retur|ns a new|
|00004090| 20 70 69 63 74 75 72 65 | 20 63 6f 6e 73 69 73 74 | picture| consist|
|000040a0| 69 6e 67 20 6f 6e 6c 79 | 20 6f 66 20 74 68 65 20 |ing only| of the |
|000040b0| 70 69 78 65 6c 73 20 66 | 72 6f 6d 20 74 68 65 50 |pixels f|rom theP|
|000040c0| 69 63 74 20 74 68 61 74 | 20 6d 61 70 20 74 6f 20 |ict that| map to |
|000040d0| 74 68 65 20 22 49 6d 61 | 67 65 57 72 69 74 65 72 |the "Ima|geWriter|
|000040e0| 22 20 63 6f 6c 6f 72 20 | 4f 6c 64 57 6f 72 6c 64 |" color |OldWorld|
|000040f0| 2e 20 20 4c 43 6f 6c 6f | 72 53 65 70 61 72 61 74 |. LColo|rSeparat|
|00004100| 65 20 70 72 6f 64 75 63 | 65 73 20 61 20 73 69 6d |e produc|es a sim|
|00004110| 69 6c 61 72 20 72 65 73 | 75 6c 74 20 74 6f 20 4c |ilar res|ult to L|
|00004120| 50 69 63 74 43 6f 6e 76 | 65 72 74 20 28 77 69 74 |PictConv|ert (wit|
|00004130| 68 20 70 69 63 74 52 65 | 73 43 6f 6c 6f 72 20 70 |h pictRe|sColor p|
|00004140| 61 73 73 65 64 20 66 6f | 72 20 74 68 65 20 72 65 |assed fo|r the re|
|00004150| 73 6f 6c 75 74 69 6f 6e | 20 70 61 72 61 6d 65 74 |solution| paramet|
|00004160| 65 72 29 20 65 78 63 65 | 70 74 20 6f 6e 6c 79 20 |er) exce|pt only |
|00004170| 74 68 65 20 70 69 78 65 | 6c 73 20 66 72 6f 6d 20 |the pixe|ls from |
|00004180| 74 68 65 20 70 69 63 74 | 75 72 65 27 73 20 50 69 |the pict|ure's Pi|
|00004190| 78 4d 61 70 20 74 68 61 | 74 20 77 69 6c 6c 20 6d |xMap tha|t will m|
|000041a0| 61 70 20 74 6f 20 4f 6c | 64 57 6f 72 6c 64 20 77 |ap to Ol|dWorld w|
|000041b0| 69 6c 6c 20 62 65 20 69 | 6e 20 74 68 65 20 42 69 |ill be i|n the Bi|
|000041c0| 74 6d 61 70 20 70 69 63 | 74 75 72 65 20 6f 75 74 |tmap pic|ture out|
|000041d0| 70 75 74 3b 20 20 74 68 | 65 20 65 6e 74 69 72 65 |put; th|e entire|
|000041e0| 20 72 65 73 75 6c 74 69 | 6e 67 20 70 69 63 74 75 | resulti|ng pictu|
|000041f0| 72 65 20 77 69 6c 6c 20 | 68 61 76 65 20 74 68 65 |re will |have the|
|00004200| 20 73 70 65 63 69 66 69 | 65 64 20 63 6f 6c 6f 72 | specifi|ed color|
|00004210| 20 73 65 74 20 61 73 20 | 74 68 65 20 66 6f 72 65 | set as |the fore|
|00004220| 67 72 6f 75 6e 64 20 63 | 6f 6c 6f 72 20 2d 2d 20 |ground c|olor -- |
|00004230| 73 6f 20 69 66 20 79 6f | 75 20 77 61 6e 74 20 74 |so if yo|u want t|
|00004240| 6f 20 64 72 61 77 20 74 | 68 65 20 70 69 63 74 75 |o draw t|he pictu|
|00004250| 72 65 20 73 68 6f 77 69 | 6e 67 20 74 68 61 74 20 |re showi|ng that |
|00004260| 63 6f 6c 6f 72 20 79 6f | 75 20 6d 65 72 65 6c 79 |color yo|u merely|
|00004270| 20 64 6f 20 61 20 44 72 | 61 77 50 69 63 74 75 72 | do a Dr|awPictur|
|00004280| 65 2e 0d 00 34 00 0d 00 | 00 00 44 00 0d 00 00 00 |e...4...|..D.....|
|00004290| 70 00 0d 00 00 00 8d 00 | 0d 00 00 00 8e 00 0d 00 |p.......|........|
|000042a0| 00 02 9a 00 0d 00 00 0d | 4f 6c 64 57 6f 72 6c 64 |........|OldWorld|
|000042b0| 20 63 61 6e 20 62 65 20 | 6f 6e 65 20 6f 66 20 74 | can be |one of t|
|000042c0| 68 65 73 65 20 63 68 6f | 69 63 65 73 20 3a 20 20 |hese cho|ices : |
|000042d0| 62 6c 61 63 6b 43 6f 6c | 6f 72 2c 20 72 65 64 43 |blackCol|or, redC|
|000042e0| 6f 6c 6f 72 2c 20 67 72 | 65 65 6e 43 6f 6c 6f 72 |olor, gr|eenColor|
|000042f0| 2c 20 62 6c 75 65 43 6f | 6c 6f 72 2c 20 63 79 61 |, blueCo|lor, cya|
|00004300| 6e 43 6f 6c 6f 72 2c 20 | 6d 61 67 65 6e 74 61 43 |nColor, |magentaC|
|00004310| 6f 6c 6f 72 2c 20 20 61 | 6e 64 20 79 65 6c 6c 6f |olor, a|nd yello|
|00004320| 77 43 6f 6c 6f 72 2e 20 | 20 54 68 65 73 65 20 63 |wColor. | These c|
|00004330| 6f 6c 6f 72 73 20 61 72 | 65 20 64 65 66 69 6e 65 |olors ar|e define|
|00004340| 64 20 69 6e 20 73 74 61 | 6e 64 61 72 64 20 51 75 |d in sta|ndard Qu|
|00004350| 69 63 6b 64 72 61 77 2e | 0d 0d 48 6f 77 65 76 65 |ickdraw.|..Howeve|
|00004360| 72 2c 20 69 66 20 4c 43 | 6f 6c 6f 72 53 65 70 61 |r, if LC|olorSepa|
|00004370| 72 61 74 65 20 66 69 6e | 64 73 20 6e 6f 20 70 69 |rate fin|ds no pi|
|00004380| 78 65 6c 73 20 74 68 61 | 74 20 63 61 6e 20 6d 61 |xels tha|t can ma|
|00004390| 70 20 74 6f 20 4f 6c 64 | 57 6f 72 6c 64 20 28 69 |p to Old|World (i|
|000043a0| 2e 65 2e 2c 20 74 68 65 | 20 72 65 73 75 6c 74 69 |.e., the| resulti|
|000043b0| 6e 67 20 70 69 63 74 75 | 72 65 20 69 73 20 70 75 |ng pictu|re is pu|
|000043c0| 72 65 20 77 68 69 74 65 | 29 2c 20 74 68 69 73 20 |re white|), this |
|000043d0| 66 75 6e 63 74 69 6f 6e | 20 72 65 74 75 72 6e 73 |function| returns|
|000043e0| 20 4e 49 4c 2e 20 20 4e | 6f 74 65 20 74 68 61 74 | NIL. N|ote that|
|000043f0| 20 74 68 69 73 20 61 6c | 73 6f 20 70 72 6f 68 69 | this al|so prohi|
|00004400| 62 69 74 73 20 74 68 65 | 20 75 73 65 20 6f 66 20 |bits the| use of |
|00004410| 22 77 68 69 74 65 43 6f | 6c 6f 72 22 20 73 69 6e |"whiteCo|lor" sin|
|00004420| 63 65 20 74 68 69 73 20 | 77 6f 75 6c 64 20 72 65 |ce this |would re|
|00004430| 73 75 6c 74 20 69 6e 20 | 65 73 73 65 6e 74 69 61 |sult in |essentia|
|00004440| 6c 6c 79 20 6e 6f 20 70 | 69 63 74 75 72 65 20 61 |lly no p|icture a|
|00004450| 6e 64 20 68 65 6e 63 65 | 20 77 6f 75 6c 64 20 72 |nd hence| would r|
|00004460| 65 74 75 72 6e 20 4e 49 | 4c 20 61 73 20 74 68 65 |eturn NI|L as the|
|00004470| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 73 75 6c 74 | functio|n result|
|00004480| 2e 0d 0d 49 66 20 74 68 | 65 50 69 63 74 20 69 73 |...If th|ePict is|
|00004490| 20 61 6c 72 65 61 64 79 | 20 61 20 62 6c 61 63 6b | already| a black|
|000044a0| 20 26 20 77 68 69 74 65 | 20 42 69 74 6d 61 70 2c | & white| Bitmap,|
|000044b0| 20 79 6f 75 20 77 69 6c | 6c 20 73 74 69 6c 6c 20 | you wil|l still |
|000044c0| 67 65 74 20 61 20 72 65 | 73 75 6c 74 69 6e 67 20 |get a re|sulting |
|000044d0| 70 69 63 74 75 72 65 20 | 62 75 74 20 6f 6e 6c 79 |picture |but only|
|000044e0| 20 66 6f 72 20 62 6c 61 | 63 6b 43 6f 6c 6f 72 20 | for bla|ckColor |
|000044f0| 73 69 6e 63 65 20 6e 6f | 6e 65 20 6f 66 20 74 68 |since no|ne of th|
|00004500| 65 20 6f 74 68 65 72 20 | 63 6f 6c 6f 72 73 20 69 |e other |colors i|
|00004510| 6e 20 66 61 63 74 20 65 | 78 69 73 74 20 2d 2d 20 |n fact e|xist -- |
|00004520| 61 6c 6c 20 6e 6f 6e 2d | 62 6c 61 63 6b 20 76 61 |all non-|black va|
|00004530| 6c 75 65 73 20 6f 66 20 | 4f 6c 64 57 6f 72 6c 64 |lues of |OldWorld|
|00004540| 20 66 6f 72 20 73 75 63 | 68 20 61 20 70 69 63 74 | for suc|h a pict|
|00004550| 75 72 65 20 77 69 6c 6c | 20 72 65 74 75 72 6e 20 |ure will| return |
|00004560| 4e 49 4c 2e 0d 0d 41 6c | 73 6f 20 72 65 6d 65 6d |NIL...Al|so remem|
|00004570| 62 65 72 20 74 68 61 74 | 20 63 65 72 74 61 69 6e |ber that| certain|
|00004580| 20 50 69 78 4d 61 70 20 | 63 6f 6c 6f 72 73 2c 20 | PixMap |colors, |
|00004590| 70 61 72 74 69 63 75 6c | 61 72 6c 79 20 74 68 65 |particul|arly the|
|000045a0| 20 6c 69 67 68 74 65 72 | 20 73 68 61 64 65 73 2c | lighter| shades,|
|000045b0| 20 6d 69 67 68 74 20 6e | 6f 74 20 6d 61 70 20 74 | might n|ot map t|
|000045c0| 6f 20 61 6e 79 20 49 6d | 61 67 65 57 72 69 74 65 |o any Im|ageWrite|
|000045d0| 72 20 63 6f 6c 6f 72 73 | 20 61 74 20 61 6c 6c 20 |r colors| at all |
|000045e0| 61 6e 64 20 74 68 65 72 | 65 66 6f 72 65 20 72 65 |and ther|efore re|
|000045f0| 74 75 72 6e 20 4e 49 4c | 20 65 76 65 6e 20 74 68 |turn NIL| even th|
|00004600| 6f 75 67 68 20 69 74 20 | 61 70 70 65 61 72 73 20 |ough it |appears |
|00004610| 61 73 20 74 68 6f 75 67 | 68 20 69 74 20 73 68 6f |as thoug|h it sho|
|00004620| 75 6c 64 20 70 72 6f 64 | 75 63 65 20 61 20 63 6f |uld prod|uce a co|
|00004630| 6c 6f 72 20 73 65 70 61 | 72 61 74 69 6f 6e 2e 0d |lor sepa|ration..|
|00004640| 00 01 00 0d 00 00 00 b2 | 00 0d 00 00 00 b3 00 0d |........|........|
|00004650| 00 00 01 db 00 0d 00 00 | 01 dc 00 0d 00 00 02 be |........|........|
|00004660| 00 0d 00 00 02 bf 00 0d | 00 00 03 99 00 0d 00 00 |........|........|
|00004670| 0d 4c 43 6f 6c 6f 72 53 | 65 70 61 72 61 74 65 20 |.LColorS|eparate |
|00004680| 73 68 6f 75 6c 64 20 6f | 6e 6c 79 20 62 65 20 75 |should o|nly be u|
|00004690| 73 65 64 20 66 6f 72 20 | 61 70 70 6c 69 63 61 74 |sed for |applicat|
|000046a0| 69 6f 6e 73 20 74 68 61 | 74 20 6e 65 65 64 20 74 |ions tha|t need t|
|000046b0| 6f 20 64 6f 20 73 6f 6d | 65 74 68 69 6e 67 20 77 |o do som|ething w|
|000046c0| 69 74 68 20 65 61 63 68 | 20 63 6f 6c 6f 72 20 22 |ith each| color "|
|000046d0| 6f 76 65 72 6c 61 79 3b | 22 20 69 66 20 79 6f 75 |overlay;|" if you|
|000046e0| 20 6d 65 72 65 6c 79 20 | 6e 65 65 64 20 74 6f 20 | merely |need to |
|000046f0| 63 6f 6e 76 65 72 74 20 | 61 20 70 69 63 74 75 72 |convert |a pictur|
|00004700| 65 20 74 6f 20 49 6d 61 | 67 65 57 72 69 74 65 72 |e to Ima|geWriter|
|00004710| 20 63 6f 6c 6f 72 73 2c | 20 75 73 65 20 4c 50 69 | colors,| use LPi|
|00004720| 63 74 43 6f 6e 76 65 72 | 74 20 69 6e 73 74 65 61 |ctConver|t instea|
|00004730| 64 20 28 69 74 73 20 6c | 65 73 73 20 77 6f 72 6b |d (its l|ess work|
|00004740| 29 2e 0d 0d 70 61 73 63 | 61 6c 20 6c 6f 6e 67 20 |)...pasc|al long |
|00004750| 52 47 42 32 4f 6c 64 57 | 6f 72 6c 64 20 28 52 47 |RGB2OldW|orld (RG|
|00004760| 42 43 6f 6c 6f 72 20 2a | 51 44 43 6f 6c 6f 72 29 |BColor *|QDColor)|
|00004770| 3b 0d 46 75 6e 63 74 69 | 6f 6e 20 52 47 42 32 4f |;.Functi|on RGB2O|
|00004780| 6c 64 57 6f 72 6c 64 20 | 28 51 44 43 6f 6c 6f 72 |ldWorld |(QDColor|
|00004790| 3a 52 47 42 43 6f 6c 6f | 72 29 3a 4c 6f 6e 67 49 |:RGBColo|r):LongI|
|000047a0| 6e 74 3b 0d 0d 52 65 74 | 75 72 6e 73 20 61 6e 20 |nt;..Ret|urns an |
|000047b0| 22 6f 6c 64 20 77 6f 72 | 6c 64 22 20 63 6f 6c 6f |"old wor|ld" colo|
|000047c0| 72 20 28 6f 6e 65 20 6f | 66 20 65 69 67 68 74 20 |r (one o|f eight |
|000047d0| 49 6d 61 67 65 57 72 69 | 74 65 72 20 63 6f 6c 6f |ImageWri|ter colo|
|000047e0| 72 73 29 20 74 68 61 74 | 20 62 65 73 74 20 6d 61 |rs) that| best ma|
|000047f0| 74 63 68 65 73 20 51 44 | 43 6f 6c 6f 72 2e 0d 0d |tches QD|Color...|
|00004800| 51 44 43 6f 6c 6f 72 20 | 69 73 20 61 6e 20 52 47 |QDColor |is an RG|
|00004810| 42 43 6f 6c 6f 72 20 70 | 65 72 20 49 6e 73 69 64 |BColor p|er Insid|
|00004820| 65 20 4d 61 63 69 6e 74 | 6f 73 68 2c 20 56 6f 6c |e Macint|osh, Vol|
|00004830| 20 35 2c 20 43 6f 6c 6f | 72 20 51 75 69 63 6b 64 | 5, Colo|r Quickd|
|00004840| 72 61 77 2e 0d 0d 52 47 | 42 32 4f 6c 64 57 6f 72 |raw...RG|B2OldWor|
|00004850| 6c 64 20 77 6f 72 6b 73 | 20 63 6f 72 72 65 63 74 |ld works| correct|
|00004860| 6c 79 20 65 76 65 6e 20 | 6f 6e 20 6d 61 63 68 69 |ly even |on machi|
|00004870| 6e 65 73 20 74 68 61 74 | 20 64 6f 20 6e 6f 74 20 |nes that| do not |
|00004880| 73 75 70 70 6f 72 74 20 | 43 6f 6c 6f 72 20 51 75 |support |Color Qu|
|00004890| 69 63 6b 64 72 61 77 2e | 0d 0d 00 01 00 0d 00 00 |ickdraw.|........|
|000048a0| 00 d3 00 0d 00 00 00 d4 | 00 0d 00 00 01 02 00 0d |........|........|
|000048b0| 00 00 01 34 00 0d 00 00 | 01 35 00 0d 00 00 01 8f |...4....|.5......|
|000048c0| 00 0d 00 00 01 90 00 0d | 00 00 01 d5 00 0d 00 00 |........|........|
|000048d0| 01 d6 00 0d 00 00 02 29 | 00 0d 00 00 02 2a 00 0d |.......)|.....*..|
|000048e0| 00 00 0d 70 61 73 63 61 | 6c 20 73 68 6f 72 74 20 |...pasca|l short |
|000048f0| 4c 50 69 63 74 50 69 78 | 53 69 7a 65 20 28 50 69 |LPictPix|Size (Pi|
|00004900| 63 48 61 6e 64 6c 65 20 | 74 68 65 50 69 63 74 29 |cHandle |thePict)|
|00004910| 3b 0d 46 75 6e 63 74 69 | 6f 6e 20 4c 50 69 63 74 |;.Functi|on LPict|
|00004920| 50 69 78 53 69 7a 65 20 | 28 74 68 65 50 69 63 74 |PixSize |(thePict|
|00004930| 3a 50 69 63 48 61 6e 64 | 6c 65 29 3a 49 6e 74 65 |:PicHand|le):Inte|
|00004940| 67 65 72 3b 0d 0d 52 65 | 74 75 72 6e 73 20 74 68 |ger;..Re|turns th|
|00004950| 65 20 70 69 78 65 6c 20 | 64 65 70 74 68 20 6f 66 |e pixel |depth of|
|00004960| 20 74 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | the con|tents of|
|00004970| 20 74 68 65 50 69 63 74 | 2e 20 20 55 73 75 61 6c | thePict|. Usual|
|00004980| 6c 79 20 74 68 69 73 20 | 77 69 6c 6c 20 62 65 20 |ly this |will be |
|00004990| 31 2c 20 32 2c 20 34 20 | 6f 72 20 38 2e 20 54 68 |1, 2, 4 |or 8. Th|
|000049a0| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 77 69 6c 6c |is funct|ion will|
|000049b0| 20 77 6f 72 6b 20 63 6f | 72 72 65 63 74 6c 79 20 | work co|rrectly |
|000049c0| 65 76 65 6e 20 77 69 74 | 68 20 62 6c 61 63 6b 20 |even wit|h black |
|000049d0| 26 20 77 68 69 74 65 20 | 70 69 63 74 75 72 65 73 |& white |pictures|
|000049e0| 20 28 77 68 69 63 68 20 | 77 69 6c 6c 20 72 65 74 | (which |will ret|
|000049f0| 75 72 6e 20 61 20 70 69 | 78 65 6c 20 64 65 70 74 |urn a pi|xel dept|
|00004a00| 68 20 6f 66 20 22 31 22 | 29 2e 0d 0d 49 66 20 61 |h of "1"|)...If a|
|00004a10| 6c 6c 20 79 6f 75 20 61 | 72 65 20 64 6f 69 6e 67 |ll you a|re doing|
|00004a20| 20 77 69 74 68 20 4c 75 | 73 74 65 72 50 69 63 20 | with Lu|sterPic |
|00004a30| 69 73 20 63 6f 6e 76 65 | 72 74 69 6e 67 20 70 69 |is conve|rting pi|
|00004a40| 63 74 75 72 65 73 20 74 | 6f 20 70 72 6f 64 75 63 |ctures t|o produc|
|00004a50| 65 20 62 65 74 74 65 72 | 20 62 6c 61 63 6b 20 26 |e better| black &|
|00004a60| 20 77 68 69 74 65 20 6f | 72 20 38 2d 63 6f 6c 6f | white o|r 8-colo|
|00004a70| 72 20 69 6d 61 67 65 73 | 2c 20 79 6f 75 20 67 65 |r images|, you ge|
|00004a80| 6e 65 72 61 6c 6c 79 20 | 77 6f 6e 27 74 20 6e 65 |nerally |won't ne|
|00004a90| 65 64 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |ed this |function|
|00004aa0| 2e 0d 0d 48 6f 77 65 76 | 65 72 2c 20 4c 50 69 63 |...Howev|er, LPic|
|00004ab0| 74 50 69 78 53 69 7a 65 | 20 69 73 20 61 20 63 6f |tPixSize| is a co|
|00004ac0| 6e 76 65 6e 69 65 6e 74 | 20 77 61 79 20 74 6f 20 |nvenient| way to |
|00004ad0| 64 65 74 65 72 6d 69 6e | 65 20 77 68 61 74 20 65 |determin|e what e|
|00004ae0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 61 20 70 69 63 |nvironme|nt a pic|
|00004af0| 74 75 72 65 20 69 6e 20 | 71 75 65 73 74 69 6f 6e |ture in |question|
|00004b00| 20 77 61 73 20 63 72 65 | 61 74 65 64 20 77 69 74 | was cre|ated wit|
|00004b10| 68 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 74 61 6b |h so you| can tak|
|00004b20| 65 20 73 6f 6d 65 20 73 | 70 65 63 69 66 69 63 20 |e some s|pecific |
|00004b30| 61 63 74 69 6f 6e 2e 0d | 00 01 00 0d 00 00 00 30 |action..|.......0|
|00004b40| 00 0d 00 00 00 63 00 0d | 00 00 00 64 00 0d 00 00 |.....c..|...d....|
|00004b50| 01 29 00 0d 00 00 01 2a | 00 0d 00 00 01 c0 00 0d |.).....*|........|
|00004b60| 00 00 01 c1 00 0d 00 00 | 02 56 00 0d 00 00 0d 46 |........|.V.....F|
|00004b70| 6f 72 20 69 6e 73 74 61 | 6e 63 65 2c 20 69 66 20 |or insta|nce, if |
|00004b80| 79 6f 75 20 77 65 72 65 | 20 70 65 72 66 6f 72 6d |you were| perform|
|00004b90| 69 6e 67 20 6f 66 66 73 | 63 72 65 65 6e 20 50 69 |ing offs|creen Pi|
|00004ba0| 78 4d 61 70 20 6d 61 6e | 69 70 75 6c 61 74 69 6f |xMap man|ipulatio|
|00004bb0| 6e 73 20 79 6f 75 20 6d | 69 67 68 74 20 77 61 6e |ns you m|ight wan|
|00004bc0| 74 20 74 6f 20 6b 6e 6f | 77 20 69 66 20 74 68 65 |t to kno|w if the|
|00004bd0| 20 73 6f 75 72 63 65 20 | 70 69 63 74 75 72 65 20 | source |picture |
|00004be0| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 73 61 6d |contains| the sam|
|00004bf0| 65 20 70 69 78 65 6c 20 | 64 65 70 74 68 20 6f 66 |e pixel |depth of|
|00004c00| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 63 72 | the cur|rent scr|
|00004c10| 65 65 6e 20 64 65 76 69 | 63 65 3b 20 74 6f 20 64 |een devi|ce; to d|
|00004c20| 6f 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 73 69 6d |o so you| can sim|
|00004c30| 70 6c 79 20 67 65 74 20 | 74 68 65 20 63 75 72 72 |ply get |the curr|
|00004c40| 65 6e 74 20 64 65 76 69 | 63 65 27 73 20 70 69 78 |ent devi|ce's pix|
|00004c50| 65 6c 20 64 65 70 74 68 | 20 28 66 72 6f 6d 20 73 |el depth| (from s|
|00004c60| 74 61 6e 64 61 72 64 20 | 54 6f 6f 6c 62 6f 78 20 |tandard |Toolbox |
|00004c70| 72 6f 75 74 69 6e 65 73 | 20 69 6e 20 49 6e 73 69 |routines| in Insi|
|00004c80| 64 65 20 4d 61 63 69 6e | 74 6f 73 68 2c 20 56 6f |de Macin|tosh, Vo|
|00004c90| 6c 20 35 29 20 61 6e 64 | 20 73 65 65 20 69 66 20 |l 5) and| see if |
|00004ca0| 74 68 69 73 20 6d 61 74 | 63 68 65 73 20 74 68 65 |this mat|ches the|
|00004cb0| 20 72 65 73 75 6c 74 73 | 20 6f 66 20 4c 50 69 63 | results| of LPic|
|00004cc0| 74 50 69 78 53 69 7a 65 | 2e 0d 00 01 00 0d 00 00 |tPixSize|........|
|00004cd0| 01 5c 00 0d 00 00 0d 54 | 68 69 73 20 66 75 6e 63 |.\.....T|his func|
|00004ce0| 74 69 6f 6e 2c 20 62 79 | 20 69 74 73 65 6c 66 2c |tion, by| itself,|
|00004cf0| 20 77 6f 72 6b 73 20 63 | 6f 72 72 65 63 74 6c 79 | works c|orrectly|
|00004d00| 20 65 76 65 6e 20 6f 6e | 20 61 20 6d 61 63 68 69 | even on| a machi|
|00004d10| 6e 65 20 74 68 61 74 20 | 64 6f 65 73 20 6e 6f 74 |ne that |does not|
|00004d20| 20 73 75 70 70 6f 72 74 | 20 43 6f 6c 6f 72 20 51 | support| Color Q|
|00004d30| 75 69 63 6b 64 72 61 77 | 2e 20 0d 0d 70 61 73 63 |uickdraw|. ..pasc|
|00004d40| 61 6c 20 47 44 48 61 6e | 64 6c 65 20 4d 61 6b 65 |al GDHan|dle Make|
|00004d50| 50 69 63 74 44 65 76 69 | 63 65 20 28 50 69 63 48 |PictDevi|ce (PicH|
|00004d60| 61 6e 64 6c 65 20 74 68 | 65 50 69 63 74 29 3b 0d |andle th|ePict);.|
|00004d70| 46 75 6e 63 74 69 6f 6e | 20 4d 61 6b 65 50 69 63 |Function| MakePic|
|00004d80| 74 44 65 76 69 63 65 20 | 28 54 68 65 50 69 63 74 |tDevice |(ThePict|
|00004d90| 3a 50 69 63 48 61 6e 64 | 6c 65 29 3a 47 44 48 61 |:PicHand|le):GDHa|
|00004da0| 6e 64 6c 65 3b 0d 0d 52 | 65 74 75 72 6e 73 20 61 |ndle;..R|eturns a|
|00004db0| 20 6e 65 77 2c 20 66 75 | 6c 6c 79 20 69 6e 69 74 | new, fu|lly init|
|00004dc0| 69 61 6c 69 7a 65 64 20 | 47 72 61 70 68 69 63 73 |ialized |Graphics|
|00004dd0| 20 44 65 76 69 63 65 20 | 48 61 6e 64 6c 65 20 28 | Device |Handle (|
|00004de0| 47 44 48 61 6e 64 6c 65 | 29 20 77 68 69 63 68 20 |GDHandle|) which |
|00004df0| 6d 61 74 63 68 65 73 20 | 74 68 65 50 69 63 74 20 |matches |thePict |
|00004e00| 69 6e 20 65 76 65 72 79 | 20 72 65 73 70 65 63 74 |in every| respect|
|00004e10| 20 2d 2d 20 69 74 73 20 | 43 6f 6c 6f 72 20 54 61 | -- its |Color Ta|
|00004e20| 62 6c 65 2c 20 70 69 78 | 65 6c 20 64 65 70 74 68 |ble, pix|el depth|
|00004e30| 20 61 6e 64 20 70 61 6c | 65 74 74 65 2e 0d 00 01 | and pal|ette....|
|00004e40| 00 0d 00 00 00 65 00 0d | 00 00 00 66 00 0d 00 00 |.....e..|...f....|
|00004e50| 00 9a 00 0d 00 00 00 d0 | 00 0d 00 00 00 d1 00 0d |........|........|
|00004e60| 00 00 01 68 00 0d 00 00 | 0d 48 6f 77 65 76 65 72 |...h....|.However|
|00004e70| 2c 20 69 66 20 74 68 65 | 50 69 63 74 20 69 73 20 |, if the|Pict is |
|00004e80| 6e 6f 74 20 61 20 50 49 | 43 54 20 49 49 20 28 43 |not a PI|CT II (C|
|00004e90| 6f 6c 6f 72 20 51 75 69 | 63 6b 64 72 61 77 20 70 |olor Qui|ckdraw p|
|00004ea0| 69 63 74 75 72 65 29 2c | 20 6f 72 20 69 66 20 74 |icture),| or if t|
|00004eb0| 68 65 20 72 75 6e 6e 69 | 6e 67 20 65 6e 76 69 72 |he runni|ng envir|
|00004ec0| 6f 6e 6d 65 6e 74 20 64 | 6f 65 73 20 6e 6f 74 20 |onment d|oes not |
|00004ed0| 73 75 70 70 6f 72 74 20 | 43 6f 6c 6f 72 20 51 75 |support |Color Qu|
|00004ee0| 69 63 6b 64 72 61 77 2c | 20 74 68 69 73 20 66 75 |ickdraw,| this fu|
|00004ef0| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 73 20 4e |nction r|eturns N|
|00004f00| 49 4c 2c 20 68 65 6e 63 | 65 20 4d 61 6b 65 50 69 |IL, henc|e MakePi|
|00004f10| 63 74 44 65 76 69 63 65 | 20 77 6f 6e 27 74 20 63 |ctDevice| won't c|
|00004f20| 72 61 73 68 20 69 6e 20 | 61 20 6e 6f 6e 2d 43 6f |rash in |a non-Co|
|00004f30| 6c 6f 72 20 51 75 69 63 | 6b 64 72 61 77 20 65 6e |lor Quic|kdraw en|
|00004f40| 76 69 72 6f 6e 6d 65 6e | 74 20 62 75 74 20 77 69 |vironmen|t but wi|
|00004f50| 6c 6c 20 70 72 6f 64 75 | 63 65 20 61 20 4e 49 4c |ll produ|ce a NIL|
|00004f60| 20 72 65 73 75 6c 74 2e | 0d 0d 47 65 6e 65 72 61 | result.|..Genera|
|00004f70| 6c 6c 79 2c 20 79 6f 75 | 20 77 6f 6e 27 74 20 6e |lly, you| won't n|
|00004f80| 65 65 64 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |eed this| functio|
|00004f90| 6e 20 75 6e 6c 65 73 73 | 20 79 6f 75 20 61 72 65 |n unless| you are|
|00004fa0| 20 73 70 65 63 69 66 69 | 63 61 6c 6c 79 20 63 72 | specifi|cally cr|
|00004fb0| 65 61 74 69 6e 67 20 6f | 66 66 73 63 72 65 65 6e |eating o|ffscreen|
|00004fc0| 20 50 69 78 4d 61 70 20 | 69 6d 61 67 65 73 20 72 | PixMap |images r|
|00004fd0| 65 71 75 69 72 69 6e 67 | 20 79 6f 75 20 74 6f 20 |equiring| you to |
|00004fe0| 6d 61 74 63 68 20 61 20 | 70 69 63 74 75 72 65 27 |match a |picture'|
|00004ff0| 73 20 6f 72 69 67 69 6e | 61 6c 20 65 6e 76 69 72 |s origin|al envir|
|00005000| 6f 6e 6d 65 6e 74 20 74 | 6f 20 61 63 68 69 65 76 |onment t|o achiev|
|00005010| 65 20 6f 70 74 69 6d 75 | 6d 20 72 65 73 75 6c 74 |e optimu|m result|
|00005020| 73 20 2d 2d 20 74 68 69 | 73 20 69 73 20 61 20 22 |s -- thi|s is a "|
|00005030| 63 6f 6e 76 65 6e 69 65 | 6e 63 65 22 20 66 75 6e |convenie|nce" fun|
|00005040| 63 74 69 6f 6e 20 66 6f | 72 20 74 68 61 74 20 70 |ction fo|r that p|
|00005050| 75 72 70 6f 73 65 2e 20 | 20 49 66 20 79 6f 75 20 |urpose. | If you |
|00005060| 61 72 65 20 75 73 69 6e | 67 20 4c 75 73 74 65 72 |are usin|g Luster|
|00005070| 50 69 63 20 6f 6e 6c 79 | 20 74 6f 20 63 6f 6e 76 |Pic only| to conv|
|00005080| 65 72 74 20 63 6f 6c 6f | 72 20 70 69 63 74 75 72 |ert colo|r pictur|
|00005090| 65 73 20 66 6f 72 20 70 | 72 69 6e 74 69 6e 67 20 |es for p|rinting |
|000050a0| 6f 72 20 64 72 61 77 69 | 6e 67 20 74 6f 20 74 68 |or drawi|ng to th|
|000050b0| 65 20 73 63 72 65 65 6e | 2c 20 79 6f 75 20 64 6f |e screen|, you do|
|000050c0| 20 6e 6f 74 20 6e 65 65 | 64 20 74 68 69 73 20 66 | not nee|d this f|
|000050d0| 75 6e 63 74 69 6f 6e 20 | 73 69 6e 63 65 20 74 68 |unction |since th|
|000050e0| 65 20 6d 61 69 6e 20 63 | 6f 6e 76 65 72 73 69 6f |e main c|onversio|
|000050f0| 6e 20 66 75 6e 63 74 69 | 6f 6e 2c 20 4c 50 69 63 |n functi|on, LPic|
|00005100| 74 43 6f 6e 76 65 72 74 | 2c 20 6d 61 70 73 20 61 |tConvert|, maps a|
|00005110| 6c 6c 20 74 68 65 20 63 | 6f 6c 6f 72 20 69 6e 66 |ll the c|olor inf|
|00005120| 6f 72 6d 61 74 69 6f 6e | 20 66 6f 72 20 79 6f 75 |ormation| for you|
|00005130| 2e 0d 0d 43 6f 6d 70 6c | 65 74 65 20 69 6e 66 6f |...Compl|ete info|
|00005140| 72 6d 61 74 69 6f 6e 20 | 6f 6e 20 47 72 61 70 68 |rmation |on Graph|
|00005150| 69 63 73 20 44 65 76 69 | 63 65 73 20 61 6e 64 20 |ics Devi|ces and |
|00005160| 47 44 48 61 6e 64 6c 65 | 73 20 63 61 6e 20 62 65 |GDHandle|s can be|
|00005170| 20 66 6f 75 6e 64 20 69 | 6e 20 56 6f 6c 75 6d 65 | found i|n Volume|
|00005180| 20 35 20 6f 66 20 49 6e | 73 69 64 65 20 4d 61 63 | 5 of In|side Mac|
|00005190| 69 6e 74 6f 73 68 3b 20 | 20 74 68 65 72 65 20 61 |intosh; | there a|
|000051a0| 72 65 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 4d 61 |re addit|ional Ma|
|000051b0| 63 20 54 65 63 68 20 4e | 6f 74 65 73 20 6f 6e 20 |c Tech N|otes on |
|000051c0| 74 68 65 20 73 75 62 6a | 65 63 74 20 6f 66 20 6f |the subj|ect of o|
|000051d0| 66 66 73 63 72 65 65 6e | 20 50 69 78 4d 61 70 20 |ffscreen| PixMap |
|000051e0| 64 72 61 77 69 6e 67 20 | 61 6e 64 20 74 68 65 20 |drawing |and the |
|000051f0| 75 73 65 20 6f 66 20 47 | 72 61 70 68 69 63 73 20 |use of G|raphics |
|00005200| 44 65 76 69 63 65 73 20 | 66 6f 72 20 74 68 69 73 |Devices |for this|
|00005210| 20 70 75 72 70 6f 73 65 | 2e 0d 00 01 00 0d 00 00 | purpose|........|
|00005220| 01 01 00 0d 00 00 01 02 | 00 0d 00 00 02 ca 00 0d |........|........|
|00005230| 00 00 02 cb 00 0d 00 00 | 03 b2 00 0d 00 00 0d 49 |........|.......I|
|00005240| 74 20 69 73 20 74 68 65 | 20 61 70 70 6c 69 63 61 |t is the| applica|
|00005250| 74 69 6f 6e 27 73 20 72 | 65 73 70 6f 6e 73 69 62 |tion's r|esponsib|
|00005260| 69 6c 69 74 79 20 74 6f | 20 64 69 73 70 6f 73 65 |ility to| dispose|
|00005270| 20 74 68 65 20 47 44 48 | 61 6e 64 6c 65 20 74 68 | the GDH|andle th|
|00005280| 61 74 20 69 73 20 72 65 | 74 75 72 6e 65 64 20 62 |at is re|turned b|
|00005290| 79 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 2e |y this f|unction.|
|000052a0| 0d 00 01 00 0d 00 00 00 | 63 00 0d 00 00 0d 0d 70 |........|c......p|
|000052b0| 61 73 63 61 6c 20 63 68 | 61 72 20 4e 65 77 57 6f |ascal ch|ar NewWo|
|000052c0| 72 6c 64 43 6f 6c 6f 72 | 20 28 76 6f 69 64 29 3b |rldColor| (void);|
|000052d0| 0d 46 75 6e 63 74 69 6f | 6e 20 4e 65 77 57 6f 72 |.Functio|n NewWor|
|000052e0| 6c 64 43 6f 6c 6f 72 3a | 42 6f 6f 6c 65 61 6e 3b |ldColor:|Boolean;|
|000052f0| 0d 0d 52 65 74 75 72 6e | 73 20 74 68 65 20 6d 61 |..Return|s the ma|
|00005300| 63 68 69 6e 65 20 65 6e | 76 69 72 6f 6e 6d 65 6e |chine en|vironmen|
|00005310| 74 20 61 73 20 74 6f 20 | 77 68 65 74 68 65 72 20 |t as to |whether |
|00005320| 6f 72 20 6e 6f 74 20 43 | 6f 6c 6f 72 20 51 75 69 |or not C|olor Qui|
|00005330| 63 6b 64 72 61 77 20 69 | 73 20 73 75 70 70 6f 72 |ckdraw i|s suppor|
|00005340| 74 65 64 2e 20 4e 6f 74 | 65 20 74 68 61 74 20 74 |ted. Not|e that t|
|00005350| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 68 61 73 |his func|tion has|
|00005360| 20 6c 69 74 74 6c 65 20 | 74 6f 20 64 6f 20 77 69 | little |to do wi|
|00005370| 74 68 20 4c 75 73 74 65 | 72 50 69 63 20 63 6f 6e |th Luste|rPic con|
|00005380| 76 65 72 73 69 6f 6e 20 | 72 6f 75 74 69 6e 65 73 |version |routines|
|00005390| 20 64 69 72 65 63 74 6c | 79 20 2d 2d 20 69 74 20 | directl|y -- it |
|000053a0| 69 73 20 6d 65 72 65 6c | 79 20 70 72 6f 76 69 64 |is merel|y provid|
|000053b0| 65 64 20 61 73 20 61 20 | 63 6f 6e 76 65 6e 69 65 |ed as a |convenie|
|000053c0| 6e 74 20 77 61 79 20 66 | 6f 72 20 79 6f 75 72 20 |nt way f|or your |
|000053d0| 70 72 6f 67 72 61 6d 20 | 74 6f 20 64 65 74 65 63 |program |to detec|
|000053e0| 74 20 74 68 65 20 70 72 | 65 73 65 6e 63 65 20 6f |t the pr|esence o|
|000053f0| 66 20 43 6f 6c 6f 72 20 | 51 75 69 63 6b 64 72 61 |f Color |Quickdra|
|00005400| 77 2e 0d 00 01 00 0d 00 | 00 00 02 00 0d 00 00 00 |w.......|........|
|00005410| 24 00 0d 00 00 00 44 00 | 0d 00 00 00 45 00 0d 00 |$.....D.|....E...|
|00005420| 00 01 56 00 0d 00 00 0d | 49 66 20 74 68 69 73 20 |..V.....|If this |
|00005430| 66 75 6e 63 74 69 6f 6e | 20 72 65 74 75 72 6e 73 |function| returns|
|00005440| 20 22 54 52 55 45 22 20 | 28 6e 6f 6e 2d 7a 65 72 | "TRUE" |(non-zer|
|00005450| 6f 29 2c 20 43 6f 6c 6f | 72 20 51 75 69 63 6b 64 |o), Colo|r Quickd|
|00005460| 72 61 77 20 69 73 20 70 | 72 65 73 65 6e 74 2e 0d |raw is p|resent..|
|00005470| 0d 4e 65 77 57 6f 72 6c | 64 43 6f 6c 6f 72 20 69 |.NewWorl|dColor i|
|00005480| 73 20 75 73 65 66 75 6c | 20 66 6f 72 20 61 70 70 |s useful| for app|
|00005490| 6c 69 63 61 74 69 6f 6e | 20 72 6f 75 74 69 6e 65 |lication| routine|
|000054a0| 73 20 74 68 61 74 20 77 | 61 6e 74 20 74 6f 20 75 |s that w|ant to u|
|000054b0| 73 65 20 70 6f 72 74 69 | 6f 6e 73 20 6f 66 20 74 |se porti|ons of t|
|000054c0| 68 65 20 54 6f 6f 6c 62 | 6f 78 20 74 68 61 74 20 |he Toolb|ox that |
|000054d0| 6d 69 67 68 74 20 6e 6f | 74 20 62 65 20 73 75 70 |might no|t be sup|
|000054e0| 70 6f 72 74 65 64 20 69 | 6e 2c 20 73 61 79 2c 20 |ported i|n, say, |
|000054f0| 61 20 4d 61 63 69 6e 74 | 6f 73 68 20 50 6c 75 73 |a Macint|osh Plus|
|00005500| 20 6f 72 20 61 20 4d 61 | 63 69 6e 74 6f 73 68 20 | or a Ma|cintosh |
|00005510| 43 6c 61 73 73 69 63 2e | 20 54 68 65 20 61 70 70 |Classic.| The app|
|00005520| 6c 69 63 61 74 69 6f 6e | 20 63 61 6e 20 75 73 65 |lication| can use|
|00005530| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 74 | this fu|nction t|
|00005540| 6f 20 22 73 70 65 63 69 | 61 6c 20 63 61 73 65 22 |o "speci|al case"|
|00005550| 20 74 68 65 73 65 20 73 | 69 74 75 61 74 69 6f 6e | these s|ituation|
|00005560| 73 20 61 73 20 73 68 6f | 77 6e 20 69 6e 20 74 68 |s as sho|wn in th|
|00005570| 65 20 65 78 61 6d 70 6c | 65 73 20 62 65 6c 6f 77 |e exampl|es below|
|00005580| 2e 20 20 4e 4f 54 45 3a | 20 49 54 20 49 53 20 4e |. NOTE:| IT IS N|
|00005590| 4f 54 20 52 45 51 55 49 | 52 45 44 20 54 4f 20 44 |OT REQUI|RED TO D|
|000055a0| 45 54 45 43 54 20 54 48 | 45 20 50 52 45 53 45 4e |ETECT TH|E PRESEN|
|000055b0| 43 45 20 4f 46 20 43 4f | 4c 4f 52 20 51 55 49 43 |CE OF CO|LOR QUIC|
|000055c0| 4b 44 52 41 57 20 42 45 | 46 4f 52 45 20 43 41 4c |KDRAW BE|FORE CAL|
|000055d0| 4c 49 4e 47 20 41 4e 59 | 20 46 55 4e 43 54 49 4f |LING ANY| FUNCTIO|
|000055e0| 4e 20 49 4e 20 54 48 49 | 53 20 4d 41 4e 55 41 4c |N IN THI|S MANUAL|
|000055f0| 2e 20 41 6c 6c 20 6f 66 | 20 74 68 65 20 66 75 6e |. All of| the fun|
|00005600| 63 74 69 6f 6e 73 20 77 | 6f 72 6b 20 69 6e 20 62 |ctions w|ork in b|
|00005610| 6f 74 68 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 73 |oth envi|ronments|
|00005620| 20 6f 72 2c 20 61 74 20 | 74 68 65 20 76 65 72 79 | or, at |the very|
|00005630| 20 6c 65 61 73 74 2c 20 | 77 6f 6e 27 74 20 22 63 | least, |won't "c|
|00005640| 72 61 73 68 22 20 62 65 | 63 61 75 73 65 20 6f 66 |rash" be|cause of|
|00005650| 20 74 68 65 20 6d 69 73 | 73 69 6e 67 20 54 6f 6f | the mis|sing Too|
|00005660| 6c 62 6f 78 20 73 75 70 | 70 6f 72 74 2e 0d 0d 00 |lbox sup|port....|
|00005670| 01 00 0d 00 00 00 49 00 | 0d 00 00 00 4a 00 0d 00 |......I.|....J...|
|00005680| 00 02 47 00 0d 00 00 02 | 48 00 0d 00 00 0c 0d 70 |..G.....|H......p|
|00005690| 61 73 63 61 6c 20 76 6f | 69 64 20 4c 50 69 63 74 |ascal vo|id LPict|
|000056a0| 41 62 6f 72 74 20 28 76 | 6f 69 64 29 3b 0d 50 72 |Abort (v|oid);.Pr|
|000056b0| 6f 63 65 64 75 72 65 20 | 4c 50 69 63 74 41 62 6f |ocedure |LPictAbo|
|000056c0| 72 74 3b 0d 0d 46 6f 72 | 63 65 73 20 4c 75 73 74 |rt;..For|ces Lust|
|000056d0| 65 72 50 69 63 20 74 6f | 20 61 62 6f 72 74 20 77 |erPic to| abort w|
|000056e0| 68 61 74 65 76 65 72 20 | 69 74 20 77 61 73 20 64 |hatever |it was d|
|000056f0| 6f 69 6e 67 2c 20 64 69 | 73 70 6f 73 65 20 61 6e |oing, di|spose an|
|00005700| 79 20 74 65 6d 70 6f 72 | 61 72 79 20 6d 65 6d 6f |y tempor|ary memo|
|00005710| 72 79 20 73 74 72 75 63 | 74 75 72 65 73 20 61 6e |ry struc|tures an|
|00005720| 64 20 72 65 74 75 72 6e | 20 66 72 6f 6d 20 69 74 |d return| from it|
|00005730| 73 20 63 75 72 72 65 6e | 74 20 66 75 6e 63 74 69 |s curren|t functi|
|00005740| 6f 6e 2e 0d 00 01 00 0c | 00 00 00 02 00 0d 00 00 |on......|........|
|00005750| 00 21 00 0d 00 00 00 37 | 00 0d 00 00 00 38 00 0d |.!.....7|.....8..|
|00005760| 00 00 00 b7 00 0d 00 00 | 0d 4c 50 69 63 74 41 62 |........|.LPictAb|
|00005770| 6f 72 74 20 69 73 20 69 | 6e 74 65 6e 64 65 64 20 |ort is i|ntended |
|00005780| 74 6f 20 62 65 20 75 73 | 65 64 20 66 72 6f 6d 20 |to be us|ed from |
|00005790| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 27 73 |an appli|cation's|
|000057a0| 20 47 72 6f 77 5a 6f 6e | 65 20 70 72 6f 63 65 64 | GrowZon|e proced|
|000057b0| 75 72 65 2e 20 20 49 6e | 20 66 61 63 74 2c 20 74 |ure. In| fact, t|
|000057c0| 68 69 73 20 61 63 74 69 | 6f 6e 20 62 61 73 69 63 |his acti|on basic|
|000057d0| 61 6c 6c 79 20 64 6f 65 | 73 20 6e 6f 74 68 69 6e |ally doe|s nothin|
|000057e0| 67 20 75 6e 6c 65 73 73 | 20 69 74 20 69 73 20 73 |g unless| it is s|
|000057f0| 70 65 63 69 66 69 63 61 | 6c 6c 79 20 63 61 6c 6c |pecifica|lly call|
|00005800| 65 64 20 64 75 72 69 6e | 67 20 74 68 65 20 65 78 |ed durin|g the ex|
|00005810| 65 63 75 74 69 6f 6e 20 | 6f 66 20 61 20 47 72 6f |ecution |of a Gro|
|00005820| 77 5a 6f 6e 65 20 28 74 | 68 61 74 20 67 65 74 73 |wZone (t|hat gets|
|00005830| 20 63 61 6c 6c 65 64 20 | 62 79 20 74 68 65 20 4d | called |by the M|
|00005840| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 72 29 20 61 |emory Ma|nager) a|
|00005850| 6e 64 20 61 6c 6c 20 65 | 66 66 6f 72 74 73 20 74 |nd all e|fforts t|
|00005860| 6f 20 68 61 6e 64 6c 65 | 20 61 6e 20 6f 75 74 2d |o handle| an out-|
|00005870| 6f 66 2d 6d 65 6d 6f 72 | 79 20 73 69 74 75 61 74 |of-memor|y situat|
|00005880| 69 6f 6e 20 68 61 76 65 | 20 66 61 69 6c 65 64 2e |ion have| failed.|
|00005890| 0d 0d 57 68 61 74 20 6c | 69 74 65 72 61 6c 6c 79 |..What l|iterally|
|000058a0| 20 6f 63 63 75 72 73 20 | 77 68 65 6e 20 4c 50 69 | occurs |when LPi|
|000058b0| 63 74 41 62 6f 72 74 20 | 69 73 20 75 73 65 64 20 |ctAbort |is used |
|000058c0| 69 73 20 61 6e 20 69 6e | 74 65 72 6e 61 6c 20 66 |is an in|ternal f|
|000058d0| 6c 61 67 20 69 73 20 73 | 65 74 20 74 68 61 74 20 |lag is s|et that |
|000058e0| 63 61 75 73 65 73 20 61 | 6e 79 20 63 75 72 72 65 |causes a|ny curre|
|000058f0| 6e 74 6c 79 20 65 78 65 | 63 75 74 69 6e 67 20 4c |ntly exe|cuting L|
|00005900| 75 73 74 65 72 50 69 63 | 20 66 75 6e 63 74 69 6f |usterPic| functio|
|00005910| 6e 20 74 6f 20 61 62 6f | 72 74 20 61 66 74 65 72 |n to abo|rt after|
|00005920| 20 74 68 65 20 6f 66 66 | 65 6e 64 69 6e 67 20 63 | the off|ending c|
|00005930| 61 6c 6c 20 74 6f 20 4d | 65 6d 6f 72 79 20 4d 61 |all to M|emory Ma|
|00005940| 6e 61 67 65 72 20 28 63 | 61 75 73 69 6e 67 20 74 |nager (c|ausing t|
|00005950| 68 65 20 6f 75 74 2d 6f | 66 2d 6d 65 6d 6f 72 79 |he out-o|f-memory|
|00005960| 20 73 69 74 75 61 74 69 | 6f 6e 29 20 72 65 74 75 | situati|on) retu|
|00005970| 72 6e 73 2e 20 20 54 68 | 69 73 20 61 62 6f 72 74 |rns. Th|is abort|
|00005980| 20 73 65 71 75 65 6e 63 | 65 20 6f 6e 6c 79 20 61 | sequenc|e only a|
|00005990| 63 74 75 61 6c 6c 79 20 | 6f 63 63 75 72 73 2c 20 |ctually |occurs, |
|000059a0| 6f 66 20 63 6f 75 72 73 | 65 2c 20 69 66 20 4c 75 |of cours|e, if Lu|
|000059b0| 73 74 65 72 50 69 63 20 | 77 61 73 20 74 68 65 20 |sterPic |was the |
|000059c0| 6f 6e 65 20 77 68 6f 20 | 62 72 6f 6b 65 20 74 68 |one who |broke th|
|000059d0| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 6d 65 6d 6f |e availa|ble memo|
|000059e0| 72 79 20 28 64 75 72 69 | 6e 67 20 4c 50 69 63 74 |ry (duri|ng LPict|
|000059f0| 43 6f 6e 76 65 72 74 2c | 20 66 6f 72 20 69 6e 73 |Convert,| for ins|
|00005a00| 74 61 6e 63 65 29 2e 0d | 0d 48 6f 77 65 76 65 72 |tance)..|.However|
|00005a10| 2c 20 69 74 20 69 73 20 | 22 73 61 66 65 22 20 74 |, it is |"safe" t|
|00005a20| 6f 20 75 6e 63 6f 6e 64 | 69 74 69 6f 6e 61 6c 6c |o uncond|itionall|
|00005a30| 79 20 63 61 6c 6c 20 4c | 50 69 63 74 41 62 6f 72 |y call L|PictAbor|
|00005a40| 74 20 66 72 6f 6d 20 79 | 6f 75 72 20 47 72 6f 77 |t from y|our Grow|
|00005a50| 5a 6f 6e 65 20 70 72 6f | 63 65 64 75 72 65 20 65 |Zone pro|cedure e|
|00005a60| 76 65 6e 20 69 66 20 4c | 75 73 74 65 72 50 69 63 |ven if L|usterPic|
|00005a70| 20 69 73 20 6e 6f 74 20 | 74 68 65 20 63 75 6c 70 | is not |the culp|
|00005a80| 72 69 74 20 62 65 63 61 | 75 73 65 20 69 6e 20 74 |rit beca|use in t|
|00005a90| 68 69 73 20 63 61 73 65 | 20 74 68 65 20 69 6e 74 |his case| the int|
|00005aa0| 65 72 6e 61 6c 20 22 61 | 62 6f 72 74 20 66 6c 61 |ernal "a|bort fla|
|00005ab0| 67 22 20 64 6f 65 73 20 | 6e 6f 74 68 69 6e 67 2e |g" does |nothing.|
|00005ac0| 20 20 4c 50 69 63 74 41 | 62 6f 72 74 20 68 61 73 | LPictA|bort has|
|00005ad0| 20 62 65 65 6e 20 70 72 | 6f 76 69 64 65 64 20 73 | been pr|ovided s|
|00005ae0| 6f 20 61 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |o an app|lication|
|00005af0| 20 63 61 6e 20 22 62 61 | 63 6b 20 6f 75 74 22 20 | can "ba|ck out" |
|00005b00| 6f 66 20 61 6e 20 6f 75 | 74 2d 6f 66 2d 6d 65 6d |of an ou|t-of-mem|
|00005b10| 6f 72 79 20 73 69 74 75 | 61 74 69 6f 6e 20 77 68 |ory situ|ation wh|
|00005b20| 69 6c 65 20 61 74 74 65 | 6d 70 74 69 6e 67 20 74 |ile atte|mpting t|
|00005b30| 6f 20 63 6f 6e 76 65 72 | 74 20 70 69 63 74 75 72 |o conver|t pictur|
|00005b40| 65 73 20 77 69 74 68 6f | 75 74 20 74 68 65 20 6e |es witho|ut the n|
|00005b50| 65 65 64 20 66 6f 72 20 | 4c 75 73 74 65 72 50 69 |eed for |LusterPi|
|00005b60| 63 20 74 6f 20 70 61 74 | 63 68 20 74 68 65 20 47 |c to pat|ch the G|
|00005b70| 72 6f 77 5a 6f 6e 65 20 | 69 74 73 65 6c 66 2e 0d |rowZone |itself..|
|00005b80| 00 01 00 0d 00 00 01 29 | 00 0d 00 00 01 2a 00 0d |.......)|.....*..|
|00005b90| 00 00 02 a0 00 0d 00 00 | 02 a1 00 0d 00 00 04 18 |........|........|
|00005ba0| 00 0d 00 00 0d 00 01 00 | 0d 00 00 49 49 49 2e 20 |........|...III. |
|00005bb0| 53 75 6d 6d 61 72 79 20 | 6f 66 20 46 75 6e 63 74 |Summary |of Funct|
|00005bc0| 69 6f 6e 73 0d 0d 20 43 | 20 48 65 61 64 65 72 20 |ions.. C| Header |
|00005bd0| 46 69 6c 65 0d 0d 23 64 | 65 66 69 6e 65 20 70 69 |File..#d|efine pi|
|00005be0| 63 74 52 65 73 31 09 09 | 31 09 09 09 2f 2a 20 31 |ctRes1..|1.../* 1|
|00005bf0| 20 58 20 31 20 72 65 73 | 6f 6c 75 74 69 6f 6e 20 | X 1 res|olution |
|00005c00| 28 37 32 20 64 70 69 29 | 20 2a 2f 0d 23 64 65 66 |(72 dpi)| */.#def|
|00005c10| 69 6e 65 20 70 69 63 74 | 52 65 73 32 20 09 09 32 |ine pict|Res2 ..2|
|00005c20| 09 09 09 2f 2a 20 32 20 | 58 20 31 20 72 65 73 6f |.../* 2 |X 1 reso|
|00005c30| 6c 75 74 69 6f 6e 20 28 | 31 35 30 20 64 70 69 29 |lution (|150 dpi)|
|00005c40| 20 2a 2f 0d 23 64 65 66 | 69 6e 65 20 70 69 63 74 | */.#def|ine pict|
|00005c50| 52 65 73 33 20 09 09 34 | 09 09 09 2f 2a 20 34 20 |Res3 ..4|.../* 4 |
|00005c60| 58 20 31 20 72 65 73 6f | 6c 75 74 69 6f 6e 20 28 |X 1 reso|lution (|
|00005c70| 33 30 30 20 64 70 69 20 | 2a 2f 0d 23 64 65 66 69 |300 dpi |*/.#defi|
|00005c80| 6e 65 20 70 69 63 74 52 | 65 73 43 6f 6c 6f 72 20 |ne pictR|esColor |
|00005c90| 2d 31 09 09 09 2f 2a 20 | 4f 6c 64 20 57 6f 72 6c |-1.../* |Old Worl|
|00005ca0| 64 20 38 2d 63 6f 6c 6f | 72 20 2a 2f 0d 0d 0d 70 |d 8-colo|r */...p|
|00005cb0| 61 73 63 61 6c 20 76 6f | 69 64 20 4c 75 73 74 65 |ascal vo|id Luste|
|00005cc0| 72 50 69 63 53 74 61 72 | 74 75 70 20 28 73 68 6f |rPicStar|tup (sho|
|00005cd0| 72 74 20 72 65 73 49 44 | 29 3b 0d 70 61 73 63 61 |rt resID|);.pasca|
|00005ce0| 6c 20 76 6f 69 64 20 4c | 75 73 74 65 72 50 69 63 |l void L|usterPic|
|00005cf0| 53 68 75 74 64 6f 77 6e | 20 28 76 6f 69 64 29 3b |Shutdown| (void);|
|00005d00| 0d 70 61 73 63 61 6c 20 | 63 68 61 72 20 4e 65 77 |.pascal |char New|
|00005d10| 57 6f 72 6c 64 43 6f 6c | 6f 72 20 28 76 6f 69 64 |WorldCol|or (void|
|00005d20| 29 3b 0d 70 61 73 63 61 | 6c 20 73 68 6f 72 74 20 |);.pasca|l short |
|00005d30| 4c 50 69 63 74 50 69 78 | 53 69 7a 65 20 28 50 69 |LPictPix|Size (Pi|
|00005d40| 63 48 61 6e 64 6c 65 20 | 74 68 65 50 69 63 74 29 |cHandle |thePict)|
|00005d50| 3b 0d 70 61 73 63 61 6c | 20 73 68 6f 72 74 20 4c |;.pascal| short L|
|00005d60| 50 69 63 74 54 79 70 65 | 20 28 50 69 63 48 61 6e |PictType| (PicHan|
|00005d70| 64 6c 65 20 74 68 65 50 | 69 63 74 29 3b 0d 70 61 |dle theP|ict);.pa|
|00005d80| 73 63 61 6c 20 50 69 63 | 48 61 6e 64 6c 65 20 4c |scal Pic|Handle L|
|00005d90| 50 69 63 74 43 6f 6e 76 | 65 72 74 20 28 50 69 63 |PictConv|ert (Pic|
|00005da0| 48 61 6e 64 6c 65 20 73 | 72 63 50 69 63 74 2c 20 |Handle s|rcPict, |
|00005db0| 73 68 6f 72 74 20 72 65 | 73 6f 6c 75 74 69 6f 6e |short re|solution|
|00005dc0| 29 3b 0d 70 61 73 63 61 | 6c 20 6c 6f 6e 67 20 52 |);.pasca|l long R|
|00005dd0| 47 42 32 4f 6c 64 57 6f | 72 6c 64 20 28 52 47 42 |GB2OldWo|rld (RGB|
|00005de0| 43 6f 6c 6f 72 20 2a 51 | 44 43 6f 6c 6f 72 29 3b |Color *Q|DColor);|
|00005df0| 0d 70 61 73 63 61 6c 20 | 47 44 48 61 6e 64 6c 65 |.pascal |GDHandle|
|00005e00| 20 4d 61 6b 65 50 69 63 | 74 44 65 76 69 63 65 20 | MakePic|tDevice |
|00005e10| 28 50 69 63 48 61 6e 64 | 6c 65 20 74 68 65 50 69 |(PicHand|le thePi|
|00005e20| 63 74 29 3b 0d 00 1a 00 | 0d 00 00 00 1b 00 0d 00 |ct);....|........|
|00005e30| 00 00 2a 00 0d 00 00 00 | 2b 00 0d 00 00 00 3c 00 |..*.....|+.....<.|
|00005e40| 09 00 18 00 3d 00 09 00 | 18 00 3f 00 09 00 12 00 |....=...|..?.....|
|00005e50| 40 00 09 00 18 00 41 00 | 09 00 18 00 61 00 0d 00 |@.....A.|....a...|
|00005e60| 00 00 73 00 09 00 12 00 | 74 00 09 00 18 00 76 00 |..s.....|t.....v.|
|00005e70| 09 00 12 00 77 00 09 00 | 18 00 78 00 09 00 18 00 |....w...|..x.....|
|00005e80| 99 00 0d 00 00 00 ab 00 | 09 00 12 00 ac 00 09 00 |........|........|
|00005e90| 18 00 ae 00 09 00 12 00 | af 00 09 00 18 00 b0 00 |........|........|
|00005ea0| 09 00 18 00 d0 00 0d 00 | 00 00 e8 00 09 00 06 00 |........|........|
|00005eb0| e9 00 09 00 18 00 ea 00 | 09 00 18 01 02 00 0d 00 |........|........|
|00005ec0| 00 01 03 00 0d 00 00 01 | 04 00 0d 00 00 01 30 00 |........|......0.|
|00005ed0| 0d 00 00 01 56 00 0d 00 | 00 01 78 00 0d 00 00 01 |....V...|..x.....|
|00005ee0| a7 00 0d 00 00 01 d3 00 | 0d 00 00 02 18 00 0d 00 |........|........|
|00005ef0| 00 02 46 00 0d 00 00 02 | 7a 00 0d 00 00 70 61 73 |..F.....|z....pas|
|00005f00| 63 61 6c 20 50 69 63 48 | 61 6e 64 6c 65 20 4c 43 |cal PicH|andle LC|
|00005f10| 6f 6c 6f 72 53 65 70 61 | 72 61 74 65 20 28 50 69 |olorSepa|rate (Pi|
|00005f20| 63 48 61 6e 64 6c 65 20 | 74 68 65 50 69 63 74 2c |cHandle |thePict,|
|00005f30| 20 6c 6f 6e 67 20 4f 6c | 64 57 6f 72 6c 64 29 3b | long Ol|dWorld);|
|00005f40| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 20 4c 50 69 |.pascal |void LPi|
|00005f50| 63 74 41 62 6f 72 74 20 | 28 76 6f 69 64 29 3b 0d |ctAbort |(void);.|
|00005f60| 0d 0d 50 61 73 63 61 6c | 20 55 6e 69 74 20 46 69 |..Pascal| Unit Fi|
|00005f70| 6c 65 0d 0d 43 6f 6e 73 | 74 20 09 70 69 63 74 52 |le..Cons|t .pictR|
|00005f80| 65 73 31 09 3d 09 09 31 | 3b 09 09 09 7b 20 31 20 |es1.=..1|;...{ 1 |
|00005f90| 58 20 31 20 72 65 73 6f | 6c 75 74 69 6f 6e 20 28 |X 1 reso|lution (|
|00005fa0| 37 32 20 64 70 69 29 20 | 7d 0d 09 09 70 69 63 74 |72 dpi) |}...pict|
|00005fb0| 52 65 73 32 20 3d 09 09 | 09 32 3b 09 09 09 7b 20 |Res2 =..|.2;...{ |
|00005fc0| 32 20 58 20 31 20 72 65 | 73 6f 6c 75 74 69 6f 6e |2 X 1 re|solution|
|00005fd0| 20 28 31 34 34 20 64 70 | 69 29 20 7d 0d 09 09 70 | (144 dp|i) }...p|
|00005fe0| 69 63 74 52 65 73 33 20 | 3d 09 09 09 34 3b 09 09 |ictRes3 |=...4;..|
|00005ff0| 09 7b 20 34 20 58 20 31 | 20 72 65 73 6f 6c 75 74 |.{ 4 X 1| resolut|
|00006000| 69 6f 6e 20 28 32 38 38 | 20 64 70 69 20 7d 0d 09 |ion (288| dpi }..|
|00006010| 09 70 69 63 74 52 65 73 | 43 6f 6c 6f 72 20 3d 20 |.pictRes|Color = |
|00006020| 20 2d 31 3b 09 09 09 7b | 20 4f 6c 64 20 57 6f 72 | -1;...{| Old Wor|
|00006030| 6c 64 20 38 2d 63 6f 6c | 6f 72 20 7d 0d 0d 50 72 |ld 8-col|or }..Pr|
|00006040| 6f 63 65 64 75 72 65 20 | 4c 75 73 74 65 72 50 69 |ocedure |LusterPi|
|00006050| 63 53 74 61 72 74 75 70 | 20 28 72 65 73 49 44 3a |cStartup| (resID:|
|00006060| 49 6e 74 65 67 65 72 29 | 3b 0d 50 72 6f 63 65 64 |Integer)|;.Proced|
|00006070| 75 72 65 20 4c 75 73 74 | 65 72 50 69 63 53 68 75 |ure Lust|erPicShu|
|00006080| 74 64 6f 77 6e 3b 0d 46 | 75 6e 63 74 69 6f 6e 20 |tdown;.F|unction |
|00006090| 4e 65 77 57 6f 72 6c 64 | 43 6f 6c 6f 72 3a 42 6f |NewWorld|Color:Bo|
|000060a0| 6f 6c 65 61 6e 3b 0d 46 | 75 6e 63 74 69 6f 6e 20 |olean;.F|unction |
|000060b0| 4c 50 69 63 74 50 69 78 | 53 69 7a 65 20 28 74 68 |LPictPix|Size (th|
|000060c0| 65 50 69 63 74 3a 50 69 | 63 48 61 6e 64 6c 65 29 |ePict:Pi|cHandle)|
|000060d0| 3a 49 6e 74 65 67 65 72 | 3b 0d 46 75 6e 63 74 69 |:Integer|;.Functi|
|000060e0| 6f 6e 20 4c 50 69 63 74 | 54 79 70 65 20 28 74 68 |on LPict|Type (th|
|000060f0| 65 50 69 63 74 3a 50 69 | 63 48 61 6e 64 6c 65 29 |ePict:Pi|cHandle)|
|00006100| 3a 49 6e 74 65 67 65 72 | 3b 0d 46 75 6e 63 74 69 |:Integer|;.Functi|
|00006110| 6f 6e 20 4c 50 69 63 74 | 43 6f 6e 76 65 72 74 20 |on LPict|Convert |
|00006120| 28 73 72 63 50 69 63 74 | 3a 50 69 63 48 61 6e 64 |(srcPict|:PicHand|
|00006130| 6c 65 3b 0d 72 65 73 6f | 6c 75 74 69 6f 6e 3a 49 |le;.reso|lution:I|
|00006140| 6e 74 65 67 65 72 29 3a | 50 69 63 48 61 6e 64 6c |nteger):|PicHandl|
|00006150| 65 3b 0d 46 75 6e 63 74 | 69 6f 6e 20 52 47 42 32 |e;.Funct|ion RGB2|
|00006160| 4f 6c 64 57 6f 72 6c 64 | 20 28 51 44 43 6f 6c 6f |OldWorld| (QDColo|
|00006170| 72 3a 52 47 42 43 6f 6c | 6f 72 29 3a 4c 6f 6e 67 |r:RGBCol|or):Long|
|00006180| 49 6e 74 3b 0d 46 75 6e | 63 74 69 6f 6e 20 4d 61 |Int;.Fun|ction Ma|
|00006190| 6b 65 50 69 63 74 44 65 | 76 69 63 65 20 28 54 68 |kePictDe|vice (Th|
|000061a0| 65 50 69 63 74 3a 50 69 | 63 48 61 6e 64 6c 65 29 |ePict:Pi|cHandle)|
|000061b0| 3a 47 44 48 61 6e 64 6c | 65 3b 0d 46 75 6e 63 74 |:GDHandl|e;.Funct|
|000061c0| 69 6f 6e 20 4c 43 6f 6c | 6f 72 53 65 70 61 72 61 |ion LCol|orSepara|
|000061d0| 74 65 20 28 54 68 65 50 | 69 63 74 3a 50 69 63 48 |te (TheP|ict:PicH|
|000061e0| 61 6e 64 6c 65 3b 0d 4f | 6c 64 57 6f 72 6c 64 3a |andle;.O|ldWorld:|
|000061f0| 4c 6f 6e 67 49 6e 74 29 | 3a 50 69 63 48 61 6e 64 |LongInt)|:PicHand|
|00006200| 6c 65 3b 0d 50 72 6f 63 | 65 64 75 72 65 20 4c 50 |le;.Proc|edure LP|
|00006210| 69 63 74 41 62 6f 72 74 | 3b 0d 0d 0d 0d 09 09 09 |ictAbort|;.......|
|00006220| 09 09 09 09 0d 4e 4f 54 | 45 3a 20 20 54 68 65 73 |.....NOT|E: Thes|
|00006230| 65 20 61 72 65 20 67 65 | 6e 65 72 61 6c 20 73 70 |e are ge|neral sp|
|00006240| 65 63 69 66 69 63 61 74 | 6f 6e 73 20 6f 66 20 4c |ecificat|ons of L|
|00006250| 75 73 74 65 72 50 49 43 | aa 20 61 6e 64 20 72 65 |usterPIC|. and re|
|00006260| 70 72 65 73 65 6e 74 20 | 74 68 65 20 6f 76 65 72 |present |the over|
|00006270| 61 6c 6c 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |all appl|ication |
|00006280| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 69 6e 74 65 |programm|ing inte|
|00006290| 72 66 61 63 65 20 61 74 | 20 74 68 65 20 74 69 6d |rface at| the tim|
|000062a0| 65 20 74 68 65 73 65 20 | 77 65 72 65 20 77 72 69 |e these |were wri|
|000062b0| 74 74 65 6e 2e 20 20 54 | 68 65 20 61 63 74 75 61 |tten. T|he actua|
|000062c0| 6c 20 70 72 6f 64 75 63 | 74 20 6d 61 79 20 76 61 |l produc|t may va|
|000062d0| 72 79 20 73 6f 6d 65 77 | 68 61 74 20 66 72 6f 6d |ry somew|hat from|
|000062e0| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 2e 20 | this do|cument. |
|000062f0| 20 44 61 74 61 50 61 6b | 20 53 6f 66 74 77 61 72 | DataPak| Softwar|
|00006300| 65 20 72 65 73 65 72 76 | 65 73 20 74 68 65 20 72 |e reserv|es the r|
|00006310| 69 67 68 74 20 74 6f 20 | 63 68 61 6e 67 65 20 74 |ight to |change t|
|00006320| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 70 |he appli|cation p|
|00006330| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 69 6e 74 65 72 |rogrammi|ng inter|
|00006340| 66 61 63 65 20 61 6e 64 | 20 74 6f 20 6d 61 6b 65 |face and| to make|
|00006350| 20 63 68 61 6e 67 65 73 | 20 74 6f 20 74 68 69 73 | changes| to this|
|00006360| 20 73 70 65 63 69 66 69 | 63 61 74 69 6f 6e 20 61 | specifi|cation a|
|00006370| 74 20 69 74 73 20 64 69 | 73 63 72 65 74 69 6f 6e |t its di|scretion|
|00006380| 2e 0d 0d 0d 0d a9 20 31 | 39 39 31 2d 39 32 20 44 |...... 1|991-92 D|
|00006390| 61 74 61 50 61 6b 20 53 | 6f 66 74 77 61 72 65 2c |ataPak S|oftware,|
|000063a0| 20 49 6e 63 2e 20 41 6c | 6c 20 52 69 67 68 74 73 | Inc. Al|l Rights|
|000063b0| 20 52 65 73 65 72 76 65 | 64 00 00 00 44 00 0d 00 | Reserve|d...D...|
|000063c0| 00 00 63 00 0d 00 00 00 | 64 00 0d 00 00 00 65 00 |..c.....|d.....e.|
|000063d0| 0d 00 00 00 76 00 0d 00 | 00 00 77 00 0d 00 00 00 |....v...|..w.....|
|000063e0| 7e 00 09 00 0c 00 87 00 | 09 00 18 00 89 00 09 00 |~.......|........|
|000063f0| 12 00 8a 00 09 00 18 00 | 8d 00 09 00 0c 00 8e 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.